diff --git a/terraform-azure/terraform-azure-database/variables.tf b/terraform-azure/terraform-azure-database/variables.tf index 8dc365252..8ead0c389 100644 --- a/terraform-azure/terraform-azure-database/variables.tf +++ b/terraform-azure/terraform-azure-database/variables.tf @@ -13,13 +13,13 @@ variable "resource_name_prefix" { type = string } -variable "psqlfs_subnet_id" { - description = "ID of the delegated Subnet for the Database Server" +variable "environment" { + description = "Environment to deploy resources" type = string } -variable "environment" { - description = "Environment to deploy resources" +variable "psqlfs_subnet_id" { + description = "ID of the delegated Subnet for the Database Server" type = string } diff --git a/terraform-azure/terraform-azure-web/webapp.tf b/terraform-azure/terraform-azure-web/webapp.tf index e736ecfd3..73fcac766 100644 --- a/terraform-azure/terraform-azure-web/webapp.tf +++ b/terraform-azure/terraform-azure-web/webapp.tf @@ -47,17 +47,6 @@ resource "azurerm_linux_web_app" "webapp" { } } - dynamic "ip_restriction" { - # Deploy App Gateway rules only to the Test and Production subscription - for_each = var.environment != "development" ? [1] : [] - content { - name = "Allow health check" - action = "Allow" - priority = 400 - ip_address = "127.0.0.1/0" - } - } - dynamic "ip_restriction" { # Deploy App Gateway rules only to the Test and Production subscription for_each = var.environment != "development" ? [1] : []