From c60dcf92b1d5028f4091eae2604892d490f7152d Mon Sep 17 00:00:00 2001 From: John Downs Date: Tue, 8 Aug 2023 11:24:03 +1200 Subject: [PATCH 1/2] Update 101-front-door-standard-premium to use azurerm 3.67.0 --- quickstart/101-front-door-standard-premium/app-service.tf | 8 ++++---- quickstart/101-front-door-standard-premium/providers.tf | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/quickstart/101-front-door-standard-premium/app-service.tf b/quickstart/101-front-door-standard-premium/app-service.tf index 4932bcf96..de7d94411 100644 --- a/quickstart/101-front-door-standard-premium/app-service.tf +++ b/quickstart/101-front-door-standard-premium/app-service.tf @@ -24,19 +24,19 @@ resource "azurerm_windows_web_app" "app" { site_config { ftps_state = "Disabled" minimum_tls_version = "1.2" - ip_restriction = [{ + ip_restriction { service_tag = "AzureFrontDoor.Backend" ip_address = null virtual_network_subnet_id = null action = "Allow" priority = 100 - headers = [{ + headers { x_azure_fdid = [azurerm_cdn_frontdoor_profile.my_front_door.resource_guid] x_fd_health_probe = [] x_forwarded_for = [] x_forwarded_host = [] - }] + } name = "Allow traffic from Front Door" - }] + } } } diff --git a/quickstart/101-front-door-standard-premium/providers.tf b/quickstart/101-front-door-standard-premium/providers.tf index c8990b6ed..a926af75d 100644 --- a/quickstart/101-front-door-standard-premium/providers.tf +++ b/quickstart/101-front-door-standard-premium/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.27.0" + version = "~> 3.67.0" } random = { From c38c89a6224f6f01f773e4c3a59bb2219970ab3b Mon Sep 17 00:00:00 2001 From: John Downs Date: Tue, 8 Aug 2023 15:09:18 +1200 Subject: [PATCH 2/2] Update provider version --- .../providers.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/101-front-door-premium-storage-blobs-private-link/providers.tf b/quickstart/101-front-door-premium-storage-blobs-private-link/providers.tf index bc4d47d2b..28f88541a 100644 --- a/quickstart/101-front-door-premium-storage-blobs-private-link/providers.tf +++ b/quickstart/101-front-door-premium-storage-blobs-private-link/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.27.0" + version = "~> 3.0" } azapi = {