Skip to content

Commit

Permalink
Fixing bp resource tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niharika-98 committed Oct 28, 2024
1 parent 780b1ad commit d1af80b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1af80b

Please sign in to comment.