File tree Expand file tree Collapse file tree 3 files changed +0
-18
lines changed
cloud_sql/sqlserver_instance_switchover Expand file tree Collapse file tree 3 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ resource "google_sql_database_instance" "original-primary" {
3030 enabled = " true"
3131 }
3232 }
33- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
34- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
35- deletion_protection = false
3633}
3734
3835resource "google_sql_database_instance" "dr_replica" {
@@ -55,8 +52,5 @@ resource "google_sql_database_instance" "dr_replica" {
5552 tier = " db-perf-optimized-N-2"
5653 edition = " ENTERPRISE_PLUS"
5754 }
58- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
59- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
60- deletion_protection = false
6155}
6256# [END cloud_sql_sqlserver_instance_create_dr_replica]
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ resource "google_sql_database_instance" "original-primary" {
2929 enabled = " true"
3030 }
3131 }
32- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
33- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
34- deletion_protection = false
3532}
3633
3734resource "google_sql_database_instance" "dr_replica" {
@@ -54,8 +51,5 @@ resource "google_sql_database_instance" "dr_replica" {
5451 tier = " db-perf-optimized-N-2"
5552 edition = " ENTERPRISE_PLUS"
5653 }
57- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
58- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
59- deletion_protection = false
6054}
6155# [END cloud_sql_sqlserver_instance_switchover_begin]
Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ resource "google_sql_database_instance" "original-primary" {
3737 enabled = " true"
3838 }
3939 }
40- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
41- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
42- deletion_protection = false
4340}
4441
4542resource "google_sql_database_instance" "dr_replica" {
@@ -55,8 +52,5 @@ resource "google_sql_database_instance" "dr_replica" {
5552 tier = " db-perf-optimized-N-2"
5653 edition = " ENTERPRISE_PLUS"
5754 }
58- # set `deletion_protection` to true, will ensure that one cannot accidentally delete this instance by
59- # use of Terraform whereas `deletion_protection_enabled` flag protects this instance at the GCP level.
60- deletion_protection = false
6155}
6256# [END cloud_sql_sqlserver_instance_switchover_finish]
You can’t perform that action at this time.
0 commit comments