Skip to content

Commit

Permalink
remove depends_on
Browse files Browse the repository at this point in the history
  • Loading branch information
mariammartins committed Oct 1, 2024
1 parent ad47f69 commit 91ea10e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion 0-bootstrap/cb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module "tf_source" {
}

# Remove after github.com/terraform-google-modules/terraform-google-bootstrap/issues/160
depends_on = [time_sleep.wait_organization_policies]
depends_on = [module.seed_bootstrap, time_sleep.wait_organization_policies]
}

module "tf_private_pool" {
Expand Down
9 changes: 0 additions & 9 deletions 0-bootstrap/modules/cb-private-pool/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ resource "google_service_networking_connection" "worker_pool_conn" {
reserved_peering_ranges = [google_compute_global_address.worker_pool_range[0].name]
}

resource "time_sleep" "wait_worker_pool_conn" {
create_duration = "30s"
depends_on = [
google_service_networking_connection.worker_pool_conn
]
}

resource "google_compute_network_peering_routes_config" "peering_routes" {
count = var.private_worker_pool.enable_network_peering ? 1 : 0

Expand All @@ -93,8 +86,6 @@ resource "google_compute_network_peering_routes_config" "peering_routes" {

import_custom_routes = true
export_custom_routes = true

depends_on = [time_sleep.wait_worker_pool_conn]
}

module "firewall_rules" {
Expand Down

0 comments on commit 91ea10e

Please sign in to comment.