From 98121d629fd4bde2e15a7be5085ab5b6aced4ad5 Mon Sep 17 00:00:00 2001 From: Shahe Islam Date: Thu, 22 Aug 2024 16:28:41 +0100 Subject: [PATCH] 1839: Setting GAI IP restriction to deny --- terraform/app.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/app.tf b/terraform/app.tf index 3b256f8d..41cb6352 100644 --- a/terraform/app.tf +++ b/terraform/app.tf @@ -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"