File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ module "tf_source" {
131131 }
132132
133133 # Remove after github.com/terraform-google-modules/terraform-google-bootstrap/issues/160
134- depends_on = [module . seed_bootstrap , time_sleep . wait_organization_policies ]
134+ depends_on = [time_sleep . wait_organization_policies ]
135135}
136136
137137module "tf_private_pool" {
Original file line number Diff line number Diff line change @@ -77,6 +77,13 @@ resource "google_service_networking_connection" "worker_pool_conn" {
7777 reserved_peering_ranges = [google_compute_global_address . worker_pool_range [0 ]. name ]
7878}
7979
80+ resource "time_sleep" "wait_worker_pool_conn" {
81+ create_duration = " 30s"
82+ depends_on = [
83+ google_service_networking_connection . worker_pool_conn
84+ ]
85+ }
86+
8087resource "google_compute_network_peering_routes_config" "peering_routes" {
8188 count = var. private_worker_pool . enable_network_peering ? 1 : 0
8289
@@ -87,7 +94,7 @@ resource "google_compute_network_peering_routes_config" "peering_routes" {
8794 import_custom_routes = true
8895 export_custom_routes = true
8996
90- depends_on = [google_service_networking_connection . worker_pool_conn ]
97+ depends_on = [time_sleep . wait_worker_pool_conn ]
9198}
9299
93100module "firewall_rules" {
You can’t perform that action at this time.
0 commit comments