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
) (#16785)

[upstream:1d1d8ed2a19c751c8fc14ef6e36b9bee54906568]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Dec 12, 2023
1 parent 7236e2f commit e6f762c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/9623.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
12 changes: 12 additions & 0 deletions google/services/compute/resource_compute_instance_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3332,6 +3332,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 @@ -3351,6 +3355,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 @@ -3414,6 +3422,10 @@ resource "google_compute_instance_template" "template" {
network_interface {
network = "default"
}
depends_on = [
google_kms_crypto_key_iam_member.crypto_key
]
}
`, context)
}

0 comments on commit e6f762c

Please sign in to comment.