diff --git a/modules/service-networking/main.tf b/modules/service-networking/main.tf index ff417f92d..a03414c05 100644 --- a/modules/service-networking/main.tf +++ b/modules/service-networking/main.tf @@ -27,7 +27,7 @@ resource "google_compute_global_address" "global_addresses" { resource "google_service_networking_connection" "default" { network = var.network.id service = var.service - reserved_peering_ranges = [for name, _ in google_compute_global_address.global_addresses : name] + reserved_peering_ranges = [for name in google_compute_global_address.global_addresses : name] deletion_policy = var.deletion_policy }