Skip to content

Commit

Permalink
Remove access restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
frasermolyneux committed Feb 8, 2024
1 parent 5122309 commit 6e02101
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions terraform/web_app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "azurerm_linux_web_app" "app" {
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location

service_plan_id = data.azurerm_service_plan.core.id
service_plan_id = data.azurerm_service_plan.core.id

https_only = true

Expand All @@ -18,25 +18,6 @@ resource "azurerm_linux_web_app" "app" {
dotnet_version = "8.0"
}

ip_restriction {
action = "Allow"
service_tag = "AzureFrontDoor.Backend"

headers {
x_azure_fdid = [data.azurerm_cdn_frontdoor_profile.platform.resource_guid]
}

name = "RestrictToFrontDoor"
priority = 1000
}

ip_restriction {
ip_address = "0.0.0.0/0"
action = "Deny"
priority = 2147483647
name = "Deny All"
}

ftps_state = "Disabled"
always_on = true
minimum_tls_version = "1.2"
Expand Down

0 comments on commit 6e02101

Please sign in to comment.