From cc29a4034929fc69492c3754aa4ca79b86f867ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Niesiob=C4=99dzki?= Date: Thu, 26 Dec 2024 15:23:12 +0000 Subject: [PATCH] Make PSA connection more robust --- modules/net-vpc/psa.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/net-vpc/psa.tf b/modules/net-vpc/psa.tf index e32b0b56a9..9591938961 100644 --- a/modules/net-vpc/psa.tf +++ b/modules/net-vpc/psa.tf @@ -68,6 +68,7 @@ resource "google_service_networking_connection" "psa_connection" { service = each.key reserved_peering_ranges = formatlist("${each.value.key}%s", keys(each.value.ranges)) deletion_policy = each.value.deletion_policy + depends_on = [google_compute_global_address.psa_ranges] } resource "google_compute_network_peering_routes_config" "psa_routes" {