We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3b82d commit 2b861e7Copy full SHA for 2b861e7
backupdr/backup_plan_association/main.tf
@@ -59,6 +59,24 @@ resource "google_compute_disk" "default" {
59
zone = "us-central1-a"
60
}
61
62
+resource "google_sql_database_instance" "default" {
63
+ name = "instance-test"
64
+ database_version = "MYSQL_8_0_41"
65
+ region = "us-central1"
66
+ settings {
67
+ tier = "db-f1-micro"
68
+ backup_configuration {
69
+ enabled = true
70
+ }
71
72
+ lifecycle {
73
+ ignore_changes = [
74
+ settings[0].backup_configuration[0].enabled,
75
+ ]
76
77
+ deletion_protection = false
78
+}
79
+
80
resource "google_backup_dr_backup_vault" "default" {
81
provider = google-beta
82
location = "us-central1"
0 commit comments