Skip to content

Commit

Permalink
Add missing depends_on meta arguments to acceptance test config (#9623
Browse files Browse the repository at this point in the history
)
  • Loading branch information
SarahFrench authored Dec 12, 2023
1 parent 414d6be commit 1d1d8ed
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3592,6 +3592,10 @@ resource "google_compute_snapshot" "snapshot" {
kms_key_self_link = data.google_kms_crypto_key.key.id
kms_key_service_account = google_service_account.test.email
}

depends_on = [
google_kms_crypto_key_iam_member.crypto_key
]
}

resource "google_compute_instance_template" "template" {
Expand All @@ -3611,6 +3615,10 @@ resource "google_compute_instance_template" "template" {
network_interface {
network = "default"
}

depends_on = [
google_kms_crypto_key_iam_member.crypto_key
]
}
`, context)
}
Expand Down Expand Up @@ -3674,6 +3682,10 @@ resource "google_compute_instance_template" "template" {
network_interface {
network = "default"
}

depends_on = [
google_kms_crypto_key_iam_member.crypto_key
]
}
`, context)
}
Expand Down

0 comments on commit 1d1d8ed

Please sign in to comment.