diff --git a/modules/net-lb-app-ext-regional/urlmap.tf b/modules/net-lb-app-ext-regional/urlmap.tf index 2cc7abdede..e305918d08 100644 --- a/modules/net-lb-app-ext-regional/urlmap.tf +++ b/modules/net-lb-app-ext-regional/urlmap.tf @@ -432,7 +432,7 @@ resource "google_compute_region_url_map" "default" { } } dynamic "route_rules" { - for_each = toset(coalesce(m.value.route_rules, [])) + for_each = coalesce(m.value.route_rules, []) content { priority = route_rules.value.priority service = route_rules.value.service == null ? null : lookup( diff --git a/modules/net-lb-app-int-cross-region/urlmap.tf b/modules/net-lb-app-int-cross-region/urlmap.tf index 93c4e14d5f..753fcc6131 100644 --- a/modules/net-lb-app-int-cross-region/urlmap.tf +++ b/modules/net-lb-app-int-cross-region/urlmap.tf @@ -271,7 +271,7 @@ resource "google_compute_url_map" "default" { } } dynamic "route_rules" { - for_each = toset(coalesce(m.value.route_rules, [])) + for_each = coalesce(m.value.route_rules, []) content { priority = route_rules.value.priority service = route_rules.value.service == null ? null : lookup( diff --git a/modules/net-lb-app-int/urlmap.tf b/modules/net-lb-app-int/urlmap.tf index 21f7e59723..3fd01270be 100644 --- a/modules/net-lb-app-int/urlmap.tf +++ b/modules/net-lb-app-int/urlmap.tf @@ -272,7 +272,7 @@ resource "google_compute_region_url_map" "default" { } } dynamic "route_rules" { - for_each = toset(coalesce(m.value.route_rules, [])) + for_each = coalesce(m.value.route_rules, []) content { priority = route_rules.value.priority service = route_rules.value.service == null ? null : lookup(