Skip to content

Commit

Permalink
Merge pull request #695 from gaofei88/patch-5.4.4
Browse files Browse the repository at this point in the history
Updating URL rewrite rule for Application Gateway
  • Loading branch information
arnaudlh authored Oct 13, 2021
2 parents 3f6b4b7 + 9d7695f commit b28a94f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/networking/application_gateway/application_gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ resource "azurerm_application_gateway" "agw" {
dynamic "url" {
for_each = try(rewrite_rule.value.url, null) == null ? [] : [1]
content {
path = try(url.value.path, null)
query_string = try(url.value.query_string, null)
reroute = try(url.value.reroute, null)
path = try(rewrite_rule.value.url.path, null)
query_string = try(rewrite_rule.value.url.query_string, null)
reroute = try(rewrite_rule.value.url.reroute, null)
}
}
}
Expand All @@ -337,4 +337,4 @@ resource "azurerm_application_gateway" "agw" {

output "certificate_keys" {
value = local.certificate_keys
}
}

0 comments on commit b28a94f

Please sign in to comment.