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" {
131
131
}
132
132
133
133
# 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 ]
135
135
}
136
136
137
137
module "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" {
77
77
reserved_peering_ranges = [google_compute_global_address . worker_pool_range [0 ]. name ]
78
78
}
79
79
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
+
80
87
resource "google_compute_network_peering_routes_config" "peering_routes" {
81
88
count = var. private_worker_pool . enable_network_peering ? 1 : 0
82
89
@@ -87,7 +94,7 @@ resource "google_compute_network_peering_routes_config" "peering_routes" {
87
94
import_custom_routes = true
88
95
export_custom_routes = true
89
96
90
- depends_on = [google_service_networking_connection . worker_pool_conn ]
97
+ depends_on = [time_sleep . wait_worker_pool_conn ]
91
98
}
92
99
93
100
module "firewall_rules" {
You can’t perform that action at this time.
0 commit comments