diff --git a/mmv1/third_party/terraform/services/composer/resource_composer_environment_test.go.erb b/mmv1/third_party/terraform/services/composer/resource_composer_environment_test.go.erb index 46eb7a6d269c..b2e59f3a98fe 100644 --- a/mmv1/third_party/terraform/services/composer/resource_composer_environment_test.go.erb +++ b/mmv1/third_party/terraform/services/composer/resource_composer_environment_test.go.erb @@ -2607,6 +2607,7 @@ resource "google_composer_environment" "test" { service_account = google_service_account.test.name } } + depends_on = [google_project_iam_member.composer-worker] } // use a separate network to avoid conflicts with other tests running in parallel @@ -2682,6 +2683,7 @@ resource "google_composer_environment" "test" { service_account = google_service_account.test.name } } + depends_on = [google_project_iam_member.composer-worker] } // use a separate network to avoid conflicts with other tests running in parallel