Skip to content

Commit

Permalink
Remove app service IP restriction
Browse files Browse the repository at this point in the history
The app service will be accessed by a new front door in s189 after
the domain migration. Remove IP restriction to uncouple it from the
existing front door.
  • Loading branch information
saliceti committed Sep 25, 2024
1 parent 1213c6b commit 90361e0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions terraform/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,6 @@ resource "azurerm_linux_web_app" "aytq-app" {
http2_enabled = true
minimum_tls_version = "1.2"
health_check_path = "/health"
ip_restriction = var.domain != null ? [{
name = "FrontDoor"
action = "Allow"
priority = 1
headers = [{
x_azure_fdid = try([local.infrastructure_secrets.FRONTDOOR_ID], [])
x_fd_health_probe = []
x_forwarded_for = []
x_forwarded_host = []
}]
service_tag = "AzureFrontDoor.Backend"
ip_address = null
virtual_network_subnet_id = null
}] : []
}

app_settings = local.aytq_env_vars
Expand Down

0 comments on commit 90361e0

Please sign in to comment.