Skip to content

Commit

Permalink
Fix #2095 for regional load balancers (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocc authored Feb 19, 2024
1 parent d4e12e1 commit 38e6517
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/net-lb-app-ext-regional/urlmap.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion modules/net-lb-app-int-cross-region/urlmap.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion modules/net-lb-app-int/urlmap.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 38e6517

Please sign in to comment.