Skip to content

Commit

Permalink
1839: Setting GAI IP restriction to deny
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheislamdfe committed Aug 22, 2024
1 parent dfc50ee commit 98121d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ resource "azurerm_linux_web_app" "auth-server-app" {
minimum_tls_version = "1.2"
health_check_path = "/health"

ip_restriction_default_action = "Deny"
scm_ip_restriction_default_action = "Deny"

#All ip_restriction properties need to be included due to the bug raised here: https://github.com/hashicorp/terraform-provider-azurerm/issues/17189
ip_restriction {
name = "FrontDoor"
Expand Down

0 comments on commit 98121d6

Please sign in to comment.