-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need ability to create Google Cloud SQL 2nd Gen *failover* replica instance #11652
Labels
Comments
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
unassigned danawillow
Apr 12, 2020
ghost
locked and limited conversation to collaborators
Apr 12, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When using Terraform to create Google Cloud SQL 2nd Gen instances, I'm trying to create a master and a failover slave/replication instance. While the docs (https://www.terraform.io/docs/providers/google/r/sql_database_instance.html) explain how to define an instance as a replica, there doesn't seem to be any way to define the slave as a replica type "failover". As a result, I have to do this in the GCE Cloud SQL web UI which prevents automation.
Terraform Version
Terraform v0.8.5
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
There should be a configuration flag in the replica options to specify the instance as a failover. Google Cloud SQL considers failover replicas (of which you can only have one per master instance) differently than plain read-only replicas.
Actual Behavior
Unable to specify replica type as failover.
References
None found.
The text was updated successfully, but these errors were encountered: