From 8ce63e14163667394ff6ca110635257e720c4fed Mon Sep 17 00:00:00 2001 From: Sarah French <15078782+SarahFrench@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:22:22 +0000 Subject: [PATCH] Add missing depends_on in TestAccComputeImage_imageEncryptionKey (#9673) --- .../services/compute/resource_compute_image_test.go.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mmv1/third_party/terraform/services/compute/resource_compute_image_test.go.erb b/mmv1/third_party/terraform/services/compute/resource_compute_image_test.go.erb index c75321a445c8..70405deef327 100644 --- a/mmv1/third_party/terraform/services/compute/resource_compute_image_test.go.erb +++ b/mmv1/third_party/terraform/services/compute/resource_compute_image_test.go.erb @@ -517,6 +517,9 @@ resource "google_compute_image" "image" { 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 + ] } `, kmsRingName, kmsKeyName, suffix, suffix) }