diff --git a/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_backup_plan_test.go.tmpl b/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_backup_plan_test.go.tmpl index bd8bc887b45e..1aebe6e073ab 100644 --- a/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_backup_plan_test.go.tmpl +++ b/mmv1/third_party/terraform/services/backupdr/data_source_backup_dr_backup_plan_test.go.tmpl @@ -99,6 +99,9 @@ resource "google_backup_dr_backup_plan" "foo" { resource_type= "compute.googleapis.com/Instance" backup_vault = google_backup_dr_backup_vault.my-backup-vault.name depends_on=[ google_backup_dr_backup_vault.my-backup-vault ] + lifecycle { + ignore_changes = [backup_vault] + } backup_rules { rule_id = "rule-1" backup_retention_days = 5