Skip to content

Commit

Permalink
Merge pull request #853 from DFE-Digital/2048-aytq-migrate-domains
Browse files Browse the repository at this point in the history
[2048] Remove app service IP restriction
  • Loading branch information
saliceti authored Sep 26, 2024
2 parents 50614e8 + 5284d15 commit dd3079b
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 dd3079b

Please sign in to comment.