Skip to content

Commit

Permalink
feat(terraform): allow public access to /metadata endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Dec 19, 2024
1 parent 4afa479 commit 60c00fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion terraform/front_door.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ resource "azurerm_cdn_frontdoor_firewall_policy" "main" {
match_condition {
match_variable = "RequestUri"
operator = "BeginsWith"
match_values = ["https://${azurerm_cdn_frontdoor_endpoint.main.host_name}:443/healthcheck", "https://${azurerm_cdn_frontdoor_endpoint.main.host_name}:443/static/"]
match_values = [
"https://${azurerm_cdn_frontdoor_endpoint.main.host_name}:443/healthcheck",
"https://${azurerm_cdn_frontdoor_endpoint.main.host_name}:443/metadata",
"https://${azurerm_cdn_frontdoor_endpoint.main.host_name}:443/static/"
]
}
}

Expand Down

0 comments on commit 60c00fe

Please sign in to comment.