Skip to content

Commit

Permalink
1839: Setting GAI IP restriction to deny (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheislamdfe authored Oct 31, 2024
1 parent f1d9c75 commit 83e34e8
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 83e34e8

Please sign in to comment.