Skip to content

Commit 9ea937a

Browse files
Add explicit dependencies so that google_composer_environment is created after IAM resources in acceptance test (#9610) (#6769)
[upstream:fc162b9af6ee82b2a473286109bcfeb8acdf5bce] Signed-off-by: Modular Magician <[email protected]>
1 parent c6cd719 commit 9ea937a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.changelog/9610.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/composer/resource_composer_environment_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,6 +2590,7 @@ resource "google_composer_environment" "test" {
25902590
service_account = google_service_account.test.name
25912591
}
25922592
}
2593+
depends_on = [google_project_iam_member.composer-worker]
25932594
}
25942595
25952596
// use a separate network to avoid conflicts with other tests running in parallel
@@ -2665,6 +2666,7 @@ resource "google_composer_environment" "test" {
26652666
service_account = google_service_account.test.name
26662667
}
26672668
}
2669+
depends_on = [google_project_iam_member.composer-worker]
26682670
}
26692671
26702672
// use a separate network to avoid conflicts with other tests running in parallel

0 commit comments

Comments
 (0)