diff --git a/mmv1/third_party/terraform/services/compute/resource_compute_instance_template_test.go.erb b/mmv1/third_party/terraform/services/compute/resource_compute_instance_template_test.go.erb index 01b6f1c19767..b7ce7bb72af7 100644 --- a/mmv1/third_party/terraform/services/compute/resource_compute_instance_template_test.go.erb +++ b/mmv1/third_party/terraform/services/compute/resource_compute_instance_template_test.go.erb @@ -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" { @@ -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) } @@ -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) }