File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cloud_sql/sqlserver_instance_switchover Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- # [START cloud_sql_sqlserver_instance_switchover_switchover_begin ]
17+ # [START cloud_sql_sqlserver_instance_switchover_begin ]
1818resource "google_sql_database_instance" "original-primary" {
1919 name = " sqlserver-primary-instance-name"
2020 region = " us-east1"
@@ -58,4 +58,4 @@ resource "google_sql_database_instance" "dr_replica" {
5858 # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
5959 deletion_protection = false
6060}
61- # [END cloud_sql_sqlserver_instance_switchover_switchover_begin ]
61+ # [END cloud_sql_sqlserver_instance_switchover_begin ]
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- # [START cloud_sql_sqlserver_instance_switchover_switchover_begin ]
17+ # [START cloud_sql_sqlserver_instance_switchover_finish ]
1818resource "google_sql_database_instance" "original-primary" {
1919 name = " sqlserver-primary-instance-name"
2020 # Set master_instance_name to the new primary instance, the original DR replica.
@@ -59,4 +59,4 @@ resource "google_sql_database_instance" "dr_replica" {
5959 # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
6060 deletion_protection = false
6161}
62- # [END cloud_sql_sqlserver_instance_switchover_switchover_begin ]
62+ # [END cloud_sql_sqlserver_instance_switchover_finish ]
You can’t perform that action at this time.
0 commit comments