File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
mysql_instance_switchover
postgres_instance_switchover/dr_replica_create Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1717
1818# [START cloud_sql_mysql_instance_switchover_dr_replica_create]
1919resource "google_sql_database_instance" "original-primary" {
20- name = " mysql-original-primary-instance"
20+ name = " mysql-original-primary-instance"
2121 region = " us-east1"
2222 # Specify a database version that supports Cloud SQL Enterprise Plus edition.
2323 database_version = " MYSQL_8_0"
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ data "google_project" "default" {
1919}
2020
2121resource "google_sql_database_instance" "original-primary" {
22- name = " mysql-original-primary-instance"
23- # You can specify any region.
22+ name = " mysql-original-primary-instance"
2423 region = " us-east1"
2524 # Specify a database version that supports Cloud SQL Enterprise Plus edition.
2625 database_version = " MYSQL_8_0"
Original file line number Diff line number Diff line change 1717
1818# [START cloud_sql_postgres_instance_switchover_dr_replica_create]
1919resource "google_sql_database_instance" "original-primary" {
20- name = " postgres-original-primary-instance"
20+ name = " postgres-original-primary-instance"
2121 region = " us-east1"
2222 # Specify a database version that supports Cloud SQL Enterprise Plus edition.
2323 database_version = " POSTGRES_12"
You can’t perform that action at this time.
0 commit comments