-1

I am trying to set up a Cloud Firestore database in the us-west1 region. However, I am getting the following message:

"Note for Cloud Functions customers: Deploying a function to this location is not yet available. If your function and Storage bucket are in different locations, you could potentially experience increased latency and billing costs. Learn more about selecting function locations based on Cloud Firestore locations."

I am confused because the docs clearly state in multiple places that us-west1 supports Cloud Functions. Is this warning incorrect? Should I consider picking a different region anyway?

EDIT: Apparently on one page it's NOT listed as a supported region?

Coder-256
  • 101
  • 3

1 Answers1

1

If you're going to use Cloud Function in Firestore you must follow the listed supported region. Firebase doesn't support us-west1 according to this document. Yes, you may consider picking a different region that suits your requirements.

us-west is not yet currently available at this moment.

Whenever us-west1 is available you may change it on your cloud function however your default region is the one that you've set on your project.

Sample Code:

const usFunctions = functions.region('us-west1');

But for now it's not yet available. You may choose another region for now but it cannot be changed later.