From b7b17f2d073cedc53d20f0a32879f398cdfb2f2c Mon Sep 17 00:00:00 2001 From: lolorol Date: Fri, 15 Jan 2021 09:46:28 +0000 Subject: [PATCH] Update azurerm to 2.43.0 and fix for terraform 0.14.* --- .gitignore | 1 + examples/README.md | 2 +- .../100-simple-app-gateway/standalone/main.tf | 2 +- .../101-private-public/standalone/main.tf | 2 +- .../100-all-attributes/standalone/main.tf | 2 +- .../100-simple/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../201-groups-and-roles/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-simple-acr/standalone/main.tf | 2 +- .../200-acr-private-link/standalone/main.tf | 2 +- .../101-single-cluster/aks.tfvars | 4 +- .../101-single-cluster/standalone/main.tf | 2 +- .../102-multi-nodepools/aks.tfvars | 6 +-- .../102-multi-nodepools/standalone/main.tf | 2 +- .../103-multi-clusters/aks.tfvars | 8 +-- .../103-multi-clusters/standalone/main.tf | 2 +- .../104-private-cluster/aks.tfvars | 6 +-- .../104-private-cluster/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../210-vm-bastion-winrm/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-simple-databricks/standalone/main.tf | 2 +- .../101-datalake-storage/standalone/main.tf | 2 +- .../100-simple-evh/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../101-keyvault-policies/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-aml/standalone/main.tf | 2 +- .../101-aml-vnet/standalone/main.tf | 2 +- examples/main.tf | 2 +- .../100-simple-mariadb/standalone/main.tf | 2 +- .../101-vnet-rule-mariadb/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- examples/mssql_mi/200-mi/standalone/main.tf | 2 +- .../elastic_pools/standalone/main.tf | 2 +- .../failover_groups/standalone/main.tf | 2 +- .../100-simple-mysql/standalone/main.tf | 2 +- .../101-vnet-rule-mysql/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-simple-dns_zone/standalone/main.tf | 2 +- .../express_routes/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-simple-front_door/standalone/main.tf | 2 +- .../101-front_door_waf/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../endpoints/centralized/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-subnet-delegation/standalone/main.tf | 2 +- .../101-vnet-peering-nsg/standalone/main.tf | 2 +- .../200-nsg-flow-logs/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../101-vpn-site-to-site/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-vwan-multi-hubs/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../102-vwan-multi-hubs-gw/standalone/main.tf | 2 +- .../100-simple-postgresql/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../101-simple-asrv/standalone/main.tf | 2 +- .../102-asr-protection/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- .../100-redis-standard/standalone/main.tf | 2 +- .../100-synapse/standalone/main.tf | 2 +- .../101-synapse-sparkpool/standalone/main.tf | 2 +- .../101-appservice-simple/standalone/main.tf | 2 +- .../102-appservice-slots/standalone/main.tf | 2 +- .../103-appservice-extend/standalone/main.tf | 2 +- .../standalone/main.tf | 2 +- main.tf | 2 +- .../azuread/applications/api_permissions.tf | 2 +- .../applications/scripts/grant_consent.sh | 2 +- .../dynamic_keyvault_secrets/keyvault.tf | 3 -- .../dynamic_keyvault_secrets/secret_purge.tf | 54 +++++++++---------- modules/security/keyvault/keyvault.tf | 1 - 91 files changed, 123 insertions(+), 126 deletions(-) diff --git a/.gitignore b/.gitignore index 7afced0f7a..572ceaf094 100755 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ **/terraform.tfstate.d **/terraform.tfstate.backup **/.terraform.tfstate.lock.info +**/*.lock.hcl **/~*.* **/*.log **/backend.azurerm.tf diff --git a/examples/README.md b/examples/README.md index 0cd68555a5..ff5f0df01e 100755 --- a/examples/README.md +++ b/examples/README.md @@ -84,7 +84,7 @@ You can customize the examples execution by modifying the variables as follow: | terraform | >= 0.13 | | azuread | ~> 1.0.0 | | azurecaf | ~> 1.1.0 | -| azurerm | ~> 2.40.0 | +| azurerm | ~> 2.43.0 | | external | ~> 1.2.0 | | null | ~> 2.1.0 | | random | ~> 2.2.1 | diff --git a/examples/app_gateway/100-simple-app-gateway/standalone/main.tf b/examples/app_gateway/100-simple-app-gateway/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/app_gateway/100-simple-app-gateway/standalone/main.tf +++ b/examples/app_gateway/100-simple-app-gateway/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/app_gateway/101-private-public/standalone/main.tf b/examples/app_gateway/101-private-public/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/app_gateway/101-private-public/standalone/main.tf +++ b/examples/app_gateway/101-private-public/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/app_insights/100-all-attributes/standalone/main.tf b/examples/app_insights/100-all-attributes/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/app_insights/100-all-attributes/standalone/main.tf +++ b/examples/app_insights/100-all-attributes/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/app_insights/100-simple/standalone/main.tf b/examples/app_insights/100-simple/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/app_insights/100-simple/standalone/main.tf +++ b/examples/app_insights/100-simple/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/automation/100-simple-automation-account/standalone/main.tf b/examples/automation/100-simple-automation-account/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/automation/100-simple-automation-account/standalone/main.tf +++ b/examples/automation/100-simple-automation-account/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/azure_ad/100-sevice-principle-with-builtin-roles/standalone/main.tf b/examples/azure_ad/100-sevice-principle-with-builtin-roles/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/azure_ad/100-sevice-principle-with-builtin-roles/standalone/main.tf +++ b/examples/azure_ad/100-sevice-principle-with-builtin-roles/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/azure_ad/101-service-principle-with-custom-roles/standalone/main.tf b/examples/azure_ad/101-service-principle-with-custom-roles/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/azure_ad/101-service-principle-with-custom-roles/standalone/main.tf +++ b/examples/azure_ad/101-service-principle-with-custom-roles/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/azure_ad/201-groups-and-roles/standalone/main.tf b/examples/azure_ad/201-groups-and-roles/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/azure_ad/201-groups-and-roles/standalone/main.tf +++ b/examples/azure_ad/201-groups-and-roles/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/availability_set/100-simple-availabilityset/standalone/main.tf b/examples/compute/availability_set/100-simple-availabilityset/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/availability_set/100-simple-availabilityset/standalone/main.tf +++ b/examples/compute/availability_set/100-simple-availabilityset/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/availability_set/101-availabilityset-with-proximity-placement-group/standalone/main.tf b/examples/compute/availability_set/101-availabilityset-with-proximity-placement-group/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/availability_set/101-availabilityset-with-proximity-placement-group/standalone/main.tf +++ b/examples/compute/availability_set/101-availabilityset-with-proximity-placement-group/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/container_registry/100-simple-acr/standalone/main.tf b/examples/compute/container_registry/100-simple-acr/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/container_registry/100-simple-acr/standalone/main.tf +++ b/examples/compute/container_registry/100-simple-acr/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/container_registry/200-acr-private-link/standalone/main.tf b/examples/compute/container_registry/200-acr-private-link/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/container_registry/200-acr-private-link/standalone/main.tf +++ b/examples/compute/container_registry/200-acr-private-link/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/kubernetes_services/101-single-cluster/aks.tfvars b/examples/compute/kubernetes_services/101-single-cluster/aks.tfvars index 9d2680abd5..48c19490ba 100644 --- a/examples/compute/kubernetes_services/101-single-cluster/aks.tfvars +++ b/examples/compute/kubernetes_services/101-single-cluster/aks.tfvars @@ -22,7 +22,7 @@ aks_clusters = { type = "SystemAssigned" } - kubernetes_version = "1.17.11" + kubernetes_version = "1.19.6" vnet_key = "spoke_aks_re1" network_policy = { @@ -55,7 +55,7 @@ aks_clusters = { max_pods = 30 node_count = 1 os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "system services" } diff --git a/examples/compute/kubernetes_services/101-single-cluster/standalone/main.tf b/examples/compute/kubernetes_services/101-single-cluster/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/kubernetes_services/101-single-cluster/standalone/main.tf +++ b/examples/compute/kubernetes_services/101-single-cluster/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/kubernetes_services/102-multi-nodepools/aks.tfvars b/examples/compute/kubernetes_services/102-multi-nodepools/aks.tfvars index c59d86214f..9ff99a24b5 100644 --- a/examples/compute/kubernetes_services/102-multi-nodepools/aks.tfvars +++ b/examples/compute/kubernetes_services/102-multi-nodepools/aks.tfvars @@ -8,7 +8,7 @@ aks_clusters = { type = "SystemAssigned" } - kubernetes_version = "1.17.11" + kubernetes_version = "1.19.6" #lz_key = "networking_spoke_aks" vnet_key = "spoke_aks_re1" @@ -41,7 +41,7 @@ aks_clusters = { max_pods = 30 node_count = 1 os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "system services" } @@ -59,7 +59,7 @@ aks_clusters = { node_count = 1 enable_auto_scaling = false os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "user services" } diff --git a/examples/compute/kubernetes_services/102-multi-nodepools/standalone/main.tf b/examples/compute/kubernetes_services/102-multi-nodepools/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/kubernetes_services/102-multi-nodepools/standalone/main.tf +++ b/examples/compute/kubernetes_services/102-multi-nodepools/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/kubernetes_services/103-multi-clusters/aks.tfvars b/examples/compute/kubernetes_services/103-multi-clusters/aks.tfvars index ff5c6660f3..5a680482c2 100644 --- a/examples/compute/kubernetes_services/103-multi-clusters/aks.tfvars +++ b/examples/compute/kubernetes_services/103-multi-clusters/aks.tfvars @@ -8,7 +8,7 @@ aks_clusters = { type = "SystemAssigned" } - kubernetes_version = "1.17.11" + kubernetes_version = "1.19.6" lz_key = "networking_spoke_aks" vnet_key = "spoke_aks_re1" @@ -43,7 +43,7 @@ aks_clusters = { max_pods = 30 node_count = 3 os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "system services" } @@ -69,7 +69,7 @@ aks_clusters = { type = "SystemAssigned" } - kubernetes_version = "1.17.11" + kubernetes_version = "1.19.6" lz_key = "networking_spoke_aks" vnet_key = "spoke_aks_re2" @@ -102,7 +102,7 @@ aks_clusters = { max_pods = 30 node_count = 3 os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "system services" } diff --git a/examples/compute/kubernetes_services/103-multi-clusters/standalone/main.tf b/examples/compute/kubernetes_services/103-multi-clusters/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/kubernetes_services/103-multi-clusters/standalone/main.tf +++ b/examples/compute/kubernetes_services/103-multi-clusters/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/kubernetes_services/104-private-cluster/aks.tfvars b/examples/compute/kubernetes_services/104-private-cluster/aks.tfvars index f34e550934..14241921c1 100644 --- a/examples/compute/kubernetes_services/104-private-cluster/aks.tfvars +++ b/examples/compute/kubernetes_services/104-private-cluster/aks.tfvars @@ -16,7 +16,7 @@ aks_clusters = { type = "SystemAssigned" } - kubernetes_version = "1.17.11" + kubernetes_version = "1.19.6" lz_key = "networking_spoke_aks" vnet_key = "spoke_aks_re1" @@ -51,7 +51,7 @@ aks_clusters = { max_pods = 30 node_count = 2 os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "system services" } @@ -69,7 +69,7 @@ aks_clusters = { node_count = 2 enable_auto_scaling = false os_disk_size_gb = 512 - orchestrator_version = "1.17.11" + orchestrator_version = "1.19.6" tags = { "project" = "user services" } diff --git a/examples/compute/kubernetes_services/104-private-cluster/standalone/main.tf b/examples/compute/kubernetes_services/104-private-cluster/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/kubernetes_services/104-private-cluster/standalone/main.tf +++ b/examples/compute/kubernetes_services/104-private-cluster/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/proximity_placement_group/standalone/main.tf b/examples/compute/proximity_placement_group/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/proximity_placement_group/standalone/main.tf +++ b/examples/compute/proximity_placement_group/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/virtual_machine/105-single-windows-vm-kv-admin-secrets/standalone/main.tf b/examples/compute/virtual_machine/105-single-windows-vm-kv-admin-secrets/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/virtual_machine/105-single-windows-vm-kv-admin-secrets/standalone/main.tf +++ b/examples/compute/virtual_machine/105-single-windows-vm-kv-admin-secrets/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/virtual_machine/210-vm-bastion-winrm/standalone/main.tf b/examples/compute/virtual_machine/210-vm-bastion-winrm/standalone/main.tf index d7afb3a1d2..c6af7c6230 100644 --- a/examples/compute/virtual_machine/210-vm-bastion-winrm/standalone/main.tf +++ b/examples/compute/virtual_machine/210-vm-bastion-winrm/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/compute/virtual_machine/211-vm-bastion-winrm-agents/standalone/main.tf b/examples/compute/virtual_machine/211-vm-bastion-winrm-agents/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/compute/virtual_machine/211-vm-bastion-winrm-agents/standalone/main.tf +++ b/examples/compute/virtual_machine/211-vm-bastion-winrm-agents/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/cosmos_db/100-simple-cosmos-db-cassandra/standalone/main.tf b/examples/cosmos_db/100-simple-cosmos-db-cassandra/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/cosmos_db/100-simple-cosmos-db-cassandra/standalone/main.tf +++ b/examples/cosmos_db/100-simple-cosmos-db-cassandra/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/cosmos_db/100-simple-cosmos-db-gremlin/standalone/main.tf b/examples/cosmos_db/100-simple-cosmos-db-gremlin/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/cosmos_db/100-simple-cosmos-db-gremlin/standalone/main.tf +++ b/examples/cosmos_db/100-simple-cosmos-db-gremlin/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/cosmos_db/100-simple-cosmos-db-mongo/standalone/main.tf b/examples/cosmos_db/100-simple-cosmos-db-mongo/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/cosmos_db/100-simple-cosmos-db-mongo/standalone/main.tf +++ b/examples/cosmos_db/100-simple-cosmos-db-mongo/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/cosmos_db/100-simple-cosmos-db-sql/standalone/main.tf b/examples/cosmos_db/100-simple-cosmos-db-sql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/cosmos_db/100-simple-cosmos-db-sql/standalone/main.tf +++ b/examples/cosmos_db/100-simple-cosmos-db-sql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/cosmos_db/100-simple-cosmos-db-table/standalone/main.tf b/examples/cosmos_db/100-simple-cosmos-db-table/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/cosmos_db/100-simple-cosmos-db-table/standalone/main.tf +++ b/examples/cosmos_db/100-simple-cosmos-db-table/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/databricks/100-simple-databricks/standalone/main.tf b/examples/databricks/100-simple-databricks/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/databricks/100-simple-databricks/standalone/main.tf +++ b/examples/databricks/100-simple-databricks/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/datalake/101-datalake-storage/standalone/main.tf b/examples/datalake/101-datalake-storage/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/datalake/101-datalake-storage/standalone/main.tf +++ b/examples/datalake/101-datalake-storage/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/eventhub_namespace/100-simple-evh/standalone/main.tf b/examples/eventhub_namespace/100-simple-evh/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/eventhub_namespace/100-simple-evh/standalone/main.tf +++ b/examples/eventhub_namespace/100-simple-evh/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/eventhub_namespace/101-evh-with-private-endpoint/standalone/main.tf b/examples/eventhub_namespace/101-evh-with-private-endpoint/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/eventhub_namespace/101-evh-with-private-endpoint/standalone/main.tf +++ b/examples/eventhub_namespace/101-evh-with-private-endpoint/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/keyvault/101-keyvault-policies/standalone/main.tf b/examples/keyvault/101-keyvault-policies/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/keyvault/101-keyvault-policies/standalone/main.tf +++ b/examples/keyvault/101-keyvault-policies/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/keyvault/102-keyvault-cert-issuer/standalone/main.tf b/examples/keyvault/102-keyvault-cert-issuer/standalone/main.tf index 915b932951..79801b67c4 100644 --- a/examples/keyvault/102-keyvault-cert-issuer/standalone/main.tf +++ b/examples/keyvault/102-keyvault-cert-issuer/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/machine_learning/100-aml/standalone/main.tf b/examples/machine_learning/100-aml/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/machine_learning/100-aml/standalone/main.tf +++ b/examples/machine_learning/100-aml/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/machine_learning/101-aml-vnet/standalone/main.tf b/examples/machine_learning/101-aml-vnet/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/machine_learning/101-aml-vnet/standalone/main.tf +++ b/examples/machine_learning/101-aml-vnet/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/main.tf b/examples/main.tf index 32e45b17e3..63fa77ed34 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mariadb_server/100-simple-mariadb/standalone/main.tf b/examples/mariadb_server/100-simple-mariadb/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mariadb_server/100-simple-mariadb/standalone/main.tf +++ b/examples/mariadb_server/100-simple-mariadb/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mariadb_server/101-vnet-rule-mariadb/standalone/main.tf b/examples/mariadb_server/101-vnet-rule-mariadb/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mariadb_server/101-vnet-rule-mariadb/standalone/main.tf +++ b/examples/mariadb_server/101-vnet-rule-mariadb/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mariadb_server/102-private-endpoint-mariadb/standalone/main.tf b/examples/mariadb_server/102-private-endpoint-mariadb/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mariadb_server/102-private-endpoint-mariadb/standalone/main.tf +++ b/examples/mariadb_server/102-private-endpoint-mariadb/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mariadb_server/103-private-endpoint-with-fw-rule-mariadb/standalone/main.tf b/examples/mariadb_server/103-private-endpoint-with-fw-rule-mariadb/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mariadb_server/103-private-endpoint-with-fw-rule-mariadb/standalone/main.tf +++ b/examples/mariadb_server/103-private-endpoint-with-fw-rule-mariadb/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/monitoring/100-service-health-alerts/standalone/main.tf b/examples/monitoring/100-service-health-alerts/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/monitoring/100-service-health-alerts/standalone/main.tf +++ b/examples/monitoring/100-service-health-alerts/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mssql_mi/200-mi/standalone/main.tf b/examples/mssql_mi/200-mi/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mssql_mi/200-mi/standalone/main.tf +++ b/examples/mssql_mi/200-mi/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mssql_server/elastic_pools/standalone/main.tf b/examples/mssql_server/elastic_pools/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mssql_server/elastic_pools/standalone/main.tf +++ b/examples/mssql_server/elastic_pools/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mssql_server/failover_groups/standalone/main.tf b/examples/mssql_server/failover_groups/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mssql_server/failover_groups/standalone/main.tf +++ b/examples/mssql_server/failover_groups/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mysql_server/100-simple-mysql/standalone/main.tf b/examples/mysql_server/100-simple-mysql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mysql_server/100-simple-mysql/standalone/main.tf +++ b/examples/mysql_server/100-simple-mysql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mysql_server/101-vnet-rule-mysql/standalone/main.tf b/examples/mysql_server/101-vnet-rule-mysql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mysql_server/101-vnet-rule-mysql/standalone/main.tf +++ b/examples/mysql_server/101-vnet-rule-mysql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mysql_server/102-private-endpoint-mysql/standalone/main.tf b/examples/mysql_server/102-private-endpoint-mysql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mysql_server/102-private-endpoint-mysql/standalone/main.tf +++ b/examples/mysql_server/102-private-endpoint-mysql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/mysql_server/103-private-endpoint-with-fw-rule-mysql/standalone/main.tf b/examples/mysql_server/103-private-endpoint-with-fw-rule-mysql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/mysql_server/103-private-endpoint-with-fw-rule-mysql/standalone/main.tf +++ b/examples/mysql_server/103-private-endpoint-with-fw-rule-mysql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/dns_zones/100-simple-dns_zone/standalone/main.tf b/examples/networking/dns_zones/100-simple-dns_zone/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/dns_zones/100-simple-dns_zone/standalone/main.tf +++ b/examples/networking/dns_zones/100-simple-dns_zone/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/express_routes/standalone/main.tf b/examples/networking/express_routes/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/express_routes/standalone/main.tf +++ b/examples/networking/express_routes/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/firewall/100-simple-firewall-with-routes/standalone/main.tf b/examples/networking/firewall/100-simple-firewall-with-routes/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/firewall/100-simple-firewall-with-routes/standalone/main.tf +++ b/examples/networking/firewall/100-simple-firewall-with-routes/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/front_door/100-simple-front_door/standalone/main.tf b/examples/networking/front_door/100-simple-front_door/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/front_door/100-simple-front_door/standalone/main.tf +++ b/examples/networking/front_door/100-simple-front_door/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/front_door/101-front_door_waf/standalone/main.tf b/examples/networking/front_door/101-front_door_waf/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/front_door/101-front_door_waf/standalone/main.tf +++ b/examples/networking/front_door/101-front_door_waf/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/private_dns/100-private-dns-vnet-links/standalone/main.tf b/examples/networking/private_dns/100-private-dns-vnet-links/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/private_dns/100-private-dns-vnet-links/standalone/main.tf +++ b/examples/networking/private_dns/100-private-dns-vnet-links/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/private_links/endpoints/centralized/standalone/main.tf b/examples/networking/private_links/endpoints/centralized/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/private_links/endpoints/centralized/standalone/main.tf +++ b/examples/networking/private_links/endpoints/centralized/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network/100-simple-vnet-subnets-nsgs/standalone/main.tf b/examples/networking/virtual_network/100-simple-vnet-subnets-nsgs/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network/100-simple-vnet-subnets-nsgs/standalone/main.tf +++ b/examples/networking/virtual_network/100-simple-vnet-subnets-nsgs/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network/100-subnet-delegation/standalone/main.tf b/examples/networking/virtual_network/100-subnet-delegation/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network/100-subnet-delegation/standalone/main.tf +++ b/examples/networking/virtual_network/100-subnet-delegation/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network/101-vnet-peering-nsg/standalone/main.tf b/examples/networking/virtual_network/101-vnet-peering-nsg/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network/101-vnet-peering-nsg/standalone/main.tf +++ b/examples/networking/virtual_network/101-vnet-peering-nsg/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network/200-nsg-flow-logs/standalone/main.tf b/examples/networking/virtual_network/200-nsg-flow-logs/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network/200-nsg-flow-logs/standalone/main.tf +++ b/examples/networking/virtual_network/200-nsg-flow-logs/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network_gateway/100-expressroute-gateway/standalone/main.tf b/examples/networking/virtual_network_gateway/100-expressroute-gateway/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network_gateway/100-expressroute-gateway/standalone/main.tf +++ b/examples/networking/virtual_network_gateway/100-expressroute-gateway/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network_gateway/101-vpn-site-to-site/standalone/main.tf b/examples/networking/virtual_network_gateway/101-vpn-site-to-site/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network_gateway/101-vpn-site-to-site/standalone/main.tf +++ b/examples/networking/virtual_network_gateway/101-vpn-site-to-site/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network_gateway/102-vpn-site-to-site-active-active/standalone/main.tf b/examples/networking/virtual_network_gateway/102-vpn-site-to-site-active-active/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network_gateway/102-vpn-site-to-site-active-active/standalone/main.tf +++ b/examples/networking/virtual_network_gateway/102-vpn-site-to-site-active-active/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network_gateway/103-vpn-site-to-site-connection/standalone/main.tf b/examples/networking/virtual_network_gateway/103-vpn-site-to-site-connection/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network_gateway/103-vpn-site-to-site-connection/standalone/main.tf +++ b/examples/networking/virtual_network_gateway/103-vpn-site-to-site-connection/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_network_gateway_connections/100-expressroute-gateway-connection/standalone/main.tf b/examples/networking/virtual_network_gateway_connections/100-expressroute-gateway-connection/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_network_gateway_connections/100-expressroute-gateway-connection/standalone/main.tf +++ b/examples/networking/virtual_network_gateway_connections/100-expressroute-gateway-connection/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_wan/100-vwan-multi-hubs/standalone/main.tf b/examples/networking/virtual_wan/100-vwan-multi-hubs/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_wan/100-vwan-multi-hubs/standalone/main.tf +++ b/examples/networking/virtual_wan/100-vwan-multi-hubs/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_wan/101-vwan-multi-hubs-firewalls/standalone/main.tf b/examples/networking/virtual_wan/101-vwan-multi-hubs-firewalls/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_wan/101-vwan-multi-hubs-firewalls/standalone/main.tf +++ b/examples/networking/virtual_wan/101-vwan-multi-hubs-firewalls/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/networking/virtual_wan/102-vwan-multi-hubs-gw/standalone/main.tf b/examples/networking/virtual_wan/102-vwan-multi-hubs-gw/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/networking/virtual_wan/102-vwan-multi-hubs-gw/standalone/main.tf +++ b/examples/networking/virtual_wan/102-vwan-multi-hubs-gw/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/postgresql_server/100-simple-postgresql/standalone/main.tf b/examples/postgresql_server/100-simple-postgresql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/postgresql_server/100-simple-postgresql/standalone/main.tf +++ b/examples/postgresql_server/100-simple-postgresql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/postgresql_server/101-vnet-rule-postgresql/standalone/main.tf b/examples/postgresql_server/101-vnet-rule-postgresql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/postgresql_server/101-vnet-rule-postgresql/standalone/main.tf +++ b/examples/postgresql_server/101-vnet-rule-postgresql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/postgresql_server/102-private-endpoint-postgresql/standalone/main.tf b/examples/postgresql_server/102-private-endpoint-postgresql/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/postgresql_server/102-private-endpoint-postgresql/standalone/main.tf +++ b/examples/postgresql_server/102-private-endpoint-postgresql/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/postgresql_server/103-private-endpoint-with-fw-rule/standalone/main.tf b/examples/postgresql_server/103-private-endpoint-with-fw-rule/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/postgresql_server/103-private-endpoint-with-fw-rule/standalone/main.tf +++ b/examples/postgresql_server/103-private-endpoint-with-fw-rule/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/recovery_vault/101-simple-asrv/standalone/main.tf b/examples/recovery_vault/101-simple-asrv/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/recovery_vault/101-simple-asrv/standalone/main.tf +++ b/examples/recovery_vault/101-simple-asrv/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/recovery_vault/102-asr-protection/standalone/main.tf b/examples/recovery_vault/102-asr-protection/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/recovery_vault/102-asr-protection/standalone/main.tf +++ b/examples/recovery_vault/102-asr-protection/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/recovery_vault/103-asr-with-private-endpoint/standalone/main.tf b/examples/recovery_vault/103-asr-with-private-endpoint/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/recovery_vault/103-asr-with-private-endpoint/standalone/main.tf +++ b/examples/recovery_vault/103-asr-with-private-endpoint/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/redis_cache/100-redis-standard/standalone/main.tf b/examples/redis_cache/100-redis-standard/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/redis_cache/100-redis-standard/standalone/main.tf +++ b/examples/redis_cache/100-redis-standard/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/synapse_analytics/100-synapse/standalone/main.tf b/examples/synapse_analytics/100-synapse/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/synapse_analytics/100-synapse/standalone/main.tf +++ b/examples/synapse_analytics/100-synapse/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/synapse_analytics/101-synapse-sparkpool/standalone/main.tf b/examples/synapse_analytics/101-synapse-sparkpool/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/synapse_analytics/101-synapse-sparkpool/standalone/main.tf +++ b/examples/synapse_analytics/101-synapse-sparkpool/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/webapps/appservice/101-appservice-simple/standalone/main.tf b/examples/webapps/appservice/101-appservice-simple/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/webapps/appservice/101-appservice-simple/standalone/main.tf +++ b/examples/webapps/appservice/101-appservice-simple/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/webapps/appservice/102-appservice-slots/standalone/main.tf b/examples/webapps/appservice/102-appservice-slots/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/webapps/appservice/102-appservice-slots/standalone/main.tf +++ b/examples/webapps/appservice/102-appservice-slots/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/webapps/appservice/103-appservice-extend/standalone/main.tf b/examples/webapps/appservice/103-appservice-extend/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/webapps/appservice/103-appservice-extend/standalone/main.tf +++ b/examples/webapps/appservice/103-appservice-extend/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/examples/webapps/appservice/104-appservice-appinsight/standalone/main.tf b/examples/webapps/appservice/104-appservice-appinsight/standalone/main.tf index 84ff4f9784..65968a056a 100644 --- a/examples/webapps/appservice/104-appservice-appinsight/standalone/main.tf +++ b/examples/webapps/appservice/104-appservice-appinsight/standalone/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40.0" + version = "~> 2.43.0" } azuread = { source = "hashicorp/azuread" diff --git a/main.tf b/main.tf index aca1534e4d..0d4e446083 100755 --- a/main.tf +++ b/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 2.40" + version = "~> 2.43.0" } azurecaf = { source = "aztfmod/azurecaf" diff --git a/modules/azuread/applications/api_permissions.tf b/modules/azuread/applications/api_permissions.tf index a01782da88..ba320ce201 100755 --- a/modules/azuread/applications/api_permissions.tf +++ b/modules/azuread/applications/api_permissions.tf @@ -54,7 +54,7 @@ resource "null_resource" "grant_admin_consent" { provisioner "local-exec" { command = format("%s/scripts/grant_consent.sh", path.module) - interpreter = ["/bin/sh"] + interpreter = ["/bin/bash"] on_failure = fail environment = { diff --git a/modules/azuread/applications/scripts/grant_consent.sh b/modules/azuread/applications/scripts/grant_consent.sh index d00874bcdf..341ed48c61 100755 --- a/modules/azuread/applications/scripts/grant_consent.sh +++ b/modules/azuread/applications/scripts/grant_consent.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e diff --git a/modules/security/dynamic_keyvault_secrets/keyvault.tf b/modules/security/dynamic_keyvault_secrets/keyvault.tf index b3f5ca4692..b87536cd9b 100644 --- a/modules/security/dynamic_keyvault_secrets/keyvault.tf +++ b/modules/security/dynamic_keyvault_secrets/keyvault.tf @@ -1,6 +1,5 @@ module secret { source = "./secret" - depends_on = [data.external.purge_secret] for_each = { for key, value in var.settings : key => value if try(value.value, null) == null @@ -13,7 +12,6 @@ module secret { module secret_value { source = "./secret" - depends_on = [data.external.purge_secret] for_each = { for key, value in var.settings : key => value if try(value.value, null) != null && try(value.value, null) != "" @@ -26,7 +24,6 @@ module secret_value { module secret_immutable { source = "./secret_immutable" - depends_on = [data.external.purge_secret] for_each = { for key, value in var.settings : key => value if try(value.value, null) == "" diff --git a/modules/security/dynamic_keyvault_secrets/secret_purge.tf b/modules/security/dynamic_keyvault_secrets/secret_purge.tf index e466fe406e..90f30d010b 100644 --- a/modules/security/dynamic_keyvault_secrets/secret_purge.tf +++ b/modules/security/dynamic_keyvault_secrets/secret_purge.tf @@ -1,32 +1,32 @@ -# -# Workaround until -# +# # +# # Workaround until +# # -data external deleted_secrets { - for_each = var.settings +# data external deleted_secrets { +# for_each = var.settings - program = [ - "bash", - "-c", - format( - "az keyvault secret list-deleted --vault-name '%s' --query \"[?name=='%s'].{recoveryId: recoveryId}\" -o json | jq -rce '.[0] // {}'", - var.keyvault.name, - each.value.secret_name - ) - ] -} +# program = [ +# "bash", +# "-c", +# format( +# "az keyvault secret list-deleted --vault-name '%s' --query \"[?name=='%s'].{recoveryId: recoveryId}\" -o json | jq -rce '.[0] // {}'", +# var.keyvault.name, +# each.value.secret_name +# ) +# ] +# } -locals { - deleted_secrets = data.external.deleted_secrets -} +# locals { +# deleted_secrets = data.external.deleted_secrets +# } -data external purge_secret { - depends_on = [data.external.deleted_secrets] - for_each = var.settings +# data external purge_secret { +# depends_on = [data.external.deleted_secrets] +# for_each = var.settings - program = [ - "bash", - "-c", - try(format("az keyvault secret purge --id %s -o json | jq -rce '. // {}'", local.deleted_secrets[each.key].result.recovery), "jq -nr '{}'") - ] -} +# program = [ +# "bash", +# "-c", +# try(format("az keyvault secret purge --id %s -o json | jq -rce '. // {}'", local.deleted_secrets[each.key].result.recovery), "jq -nr '{}'") +# ] +# } diff --git a/modules/security/keyvault/keyvault.tf b/modules/security/keyvault/keyvault.tf index 302fbff2c6..f4e8999338 100755 --- a/modules/security/keyvault/keyvault.tf +++ b/modules/security/keyvault/keyvault.tf @@ -26,7 +26,6 @@ resource "azurerm_key_vault" "keyvault" { enabled_for_disk_encryption = try(var.settings.enabled_for_disk_encryption, false) enabled_for_template_deployment = try(var.settings.enabled_for_template_deployment, false) purge_protection_enabled = try(var.settings.purge_protection_enabled, false) - soft_delete_enabled = try(var.settings.soft_delete_enabled, true) soft_delete_retention_days = try(var.settings.soft_delete_retention_days, 7) enable_rbac_authorization = try(var.settings.enable_rbac_authorization, false) timeouts {