Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Cannot create SQL database: Invalid GCE zone #3

Open
dillongrove opened this issue Aug 1, 2016 · 1 comment
Open

Cannot create SQL database: Invalid GCE zone #3

dillongrove opened this issue Aug 1, 2016 · 1 comment

Comments

@dillongrove
Copy link

The install script fails while trying to create an SQL database, with the following error:

ERROR: (gcloud.sql.instances.create) Request contains unrecognized GCE zone when creating or updating an instance.

After poking around in the developer console, it seems like the region I selected for my project (us-west1) isn't available as a region when trying to create a SQL instance there (only us-central, us-east1, europe-west1, and asia-east1 are available).

Perhaps the zone of the SQL instance might need to be one of those four (and potentially different from the rest of the project?)

@dillongrove
Copy link
Author

Changing the zone on line 212 of install to us-central1-a appears to allow the SQL instance to be created. Hopefully it's ok that the SQL instance is in a different zone than the rest of the project?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant