Skip to content

Commit

Permalink
Fix url_redirect issue on net-glb module (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
erabusi authored and simonebruzzechesse committed Mar 2, 2023
1 parent 06a6a2c commit 0ed0a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/net-glb/urlmap.tf
Original file line number Diff line number Diff line change
Expand Up @@ -921,9 +921,9 @@ resource "google_compute_url_map" "default" {
}
dynamic "url_redirect" {
for_each = (
route_rules.value.default_url_redirect == null
route_rules.value.url_redirect == null
? []
: [route_rules.value.default_url_redirect]
: [route_rules.value.url_redirect]
)
content {
host_redirect = url_redirect.value.host
Expand Down

0 comments on commit 0ed0a5a

Please sign in to comment.