From f030f7c732e86212039555732412627fdfa36fad Mon Sep 17 00:00:00 2001 From: Andrea Grillo Date: Fri, 13 Dec 2024 15:41:31 +0100 Subject: [PATCH] [CES-601] Update Terraform modules to support azurerm v4 (#185) Co-authored-by: Krusty93 --- infra/modules/azure_api_management/README.md | 2 +- .../modules/azure_api_management/example/complete/README.md | 2 +- .../azure_api_management/example/complete/versions.tf | 2 +- infra/modules/azure_api_management/main.tf | 2 +- infra/modules/azure_api_management/tests/setup/README.md | 2 +- infra/modules/azure_api_management/tests/setup/main.tf | 2 +- infra/modules/azure_app_service/README.md | 2 +- infra/modules/azure_app_service/examples/complete/README.md | 2 +- .../modules/azure_app_service/examples/complete/versions.tf | 2 +- infra/modules/azure_app_service/main.tf | 2 +- infra/modules/azure_app_service/tests/setup/README.md | 2 +- infra/modules/azure_app_service/tests/setup/main.tf | 2 +- infra/modules/azure_app_service_exposed/README.md | 2 +- .../azure_app_service_exposed/examples/complete/README.md | 2 +- .../azure_app_service_exposed/examples/complete/versions.tf | 2 +- infra/modules/azure_app_service_exposed/main.tf | 2 +- .../modules/azure_app_service_exposed/tests/setup/README.md | 2 +- infra/modules/azure_app_service_exposed/tests/setup/main.tf | 4 ++-- infra/modules/azure_app_service_plan_autoscaler/README.md | 2 +- infra/modules/azure_app_service_plan_autoscaler/main.tf | 2 +- infra/modules/azure_cosmos_account/README.md | 2 +- infra/modules/azure_cosmos_account/data.tf | 2 +- .../modules/azure_cosmos_account/examples/complete/README.md | 2 +- .../azure_cosmos_account/examples/complete/versions.tf | 2 +- .../modules/azure_cosmos_account/examples/minimum/README.md | 2 +- .../azure_cosmos_account/examples/minimum/versions.tf | 2 +- infra/modules/azure_cosmos_account/main.tf | 4 ++-- infra/modules/azure_cosmos_account/tests/setup/README.md | 2 +- infra/modules/azure_cosmos_account/tests/setup/main.tf | 2 +- infra/modules/azure_event_hub/README.md | 2 +- infra/modules/azure_event_hub/example/complete/README.md | 2 +- infra/modules/azure_event_hub/example/complete/versions.tf | 2 +- infra/modules/azure_event_hub/main.tf | 4 ++-- infra/modules/azure_event_hub/tests/setup/README.md | 2 +- infra/modules/azure_event_hub/tests/setup/main.tf | 2 +- infra/modules/azure_federated_identity_with_github/README.md | 2 +- infra/modules/azure_federated_identity_with_github/main.tf | 2 +- infra/modules/azure_function_app/README.md | 2 +- infra/modules/azure_function_app/examples/complete/README.md | 2 +- .../modules/azure_function_app/examples/complete/versions.tf | 2 +- infra/modules/azure_function_app/main.tf | 2 +- infra/modules/azure_function_app/tests/setup/README.md | 2 +- infra/modules/azure_function_app/tests/setup/main.tf | 2 +- infra/modules/azure_function_app_exposed/README.md | 2 +- .../azure_function_app_exposed/examples/complete/README.md | 2 +- .../azure_function_app_exposed/examples/complete/versions.tf | 2 +- infra/modules/azure_function_app_exposed/main.tf | 2 +- .../modules/azure_function_app_exposed/tests/setup/README.md | 2 +- infra/modules/azure_function_app_exposed/tests/setup/main.tf | 2 +- infra/modules/azure_postgres_server/README.md | 2 +- .../modules/azure_postgres_server/example/complete/README.md | 2 +- .../azure_postgres_server/example/complete/versions.tf | 2 +- infra/modules/azure_postgres_server/main.tf | 4 ++-- infra/modules/azure_postgres_server/tests/setup/README.md | 2 +- infra/modules/azure_postgres_server/tests/setup/main.tf | 2 +- infra/modules/azure_role_assignments/README.md | 2 +- .../azure_role_assignments/examples/function_app/README.md | 4 ++-- .../azure_role_assignments/examples/function_app/versions.tf | 2 +- .../examples/users_assigned_identity/README.md | 4 ++-- .../examples/users_assigned_identity/versions.tf | 5 ++++- infra/modules/azure_role_assignments/providers.tf | 4 ++-- infra/modules/azure_role_assignments/tests/exec/README.md | 2 +- infra/modules/azure_role_assignments/tests/exec/main.tf | 2 +- infra/modules/azure_role_assignments/tests/setup/README.md | 2 +- infra/modules/azure_role_assignments/tests/setup/main.tf | 2 +- infra/modules/azure_storage_account/README.md | 2 +- .../azure_storage_account/examples/complete/README.md | 2 +- .../azure_storage_account/examples/complete/versions.tf | 2 +- infra/modules/azure_storage_account/main.tf | 2 +- infra/modules/azure_storage_account/tests/setup/README.md | 2 +- infra/modules/azure_storage_account/tests/setup/main.tf | 2 +- 71 files changed, 81 insertions(+), 78 deletions(-) diff --git a/infra/modules/azure_api_management/README.md b/infra/modules/azure_api_management/README.md index 88450b4a7..d92ee1b05 100644 --- a/infra/modules/azure_api_management/README.md +++ b/infra/modules/azure_api_management/README.md @@ -42,7 +42,7 @@ module "apim" { | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.111.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_api_management/example/complete/README.md b/infra/modules/azure_api_management/example/complete/README.md index b7e40f9c5..29d43948d 100644 --- a/infra/modules/azure_api_management/example/complete/README.md +++ b/infra/modules/azure_api_management/example/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_api_management/example/complete/versions.tf b/infra/modules/azure_api_management/example/complete/versions.tf index 44f155d5d..9298571ae 100644 --- a/infra/modules/azure_api_management/example/complete/versions.tf +++ b/infra/modules/azure_api_management/example/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_api_management/main.tf b/infra/modules/azure_api_management/main.tf index 830170b99..30bf23204 100644 --- a/infra/modules/azure_api_management/main.tf +++ b/infra/modules/azure_api_management/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.111.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_api_management/tests/setup/README.md b/infra/modules/azure_api_management/tests/setup/README.md index 9afd90efd..be8116078 100644 --- a/infra/modules/azure_api_management/tests/setup/README.md +++ b/infra/modules/azure_api_management/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_api_management/tests/setup/main.tf b/infra/modules/azure_api_management/tests/setup/main.tf index fd5d69b5e..eb588dcf8 100644 --- a/infra/modules/azure_api_management/tests/setup/main.tf +++ b/infra/modules/azure_api_management/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service/README.md b/infra/modules/azure_app_service/README.md index fe855858b..f7bf1b44a 100644 --- a/infra/modules/azure_app_service/README.md +++ b/infra/modules/azure_app_service/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.100.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service/examples/complete/README.md b/infra/modules/azure_app_service/examples/complete/README.md index b401a82e5..d40d7339c 100644 --- a/infra/modules/azure_app_service/examples/complete/README.md +++ b/infra/modules/azure_app_service/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service/examples/complete/versions.tf b/infra/modules/azure_app_service/examples/complete/versions.tf index 335797756..c18558e0b 100644 --- a/infra/modules/azure_app_service/examples/complete/versions.tf +++ b/infra/modules/azure_app_service/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service/main.tf b/infra/modules/azure_app_service/main.tf index 4e6bd4cf3..1b3a62621 100644 --- a/infra/modules/azure_app_service/main.tf +++ b/infra/modules/azure_app_service/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.100.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service/tests/setup/README.md b/infra/modules/azure_app_service/tests/setup/README.md index e4d4f2701..7848bb7c5 100644 --- a/infra/modules/azure_app_service/tests/setup/README.md +++ b/infra/modules/azure_app_service/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service/tests/setup/main.tf b/infra/modules/azure_app_service/tests/setup/main.tf index 52cec6045..025e12cbc 100644 --- a/infra/modules/azure_app_service/tests/setup/main.tf +++ b/infra/modules/azure_app_service/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service_exposed/README.md b/infra/modules/azure_app_service_exposed/README.md index d348088c5..7addaa35a 100644 --- a/infra/modules/azure_app_service_exposed/README.md +++ b/infra/modules/azure_app_service_exposed/README.md @@ -8,7 +8,7 @@ This module is used to create an Azure App Service, allowing it to be configured | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.111.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service_exposed/examples/complete/README.md b/infra/modules/azure_app_service_exposed/examples/complete/README.md index 4bb31249f..57a53a6a7 100644 --- a/infra/modules/azure_app_service_exposed/examples/complete/README.md +++ b/infra/modules/azure_app_service_exposed/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service_exposed/examples/complete/versions.tf b/infra/modules/azure_app_service_exposed/examples/complete/versions.tf index e82f797f0..10c443186 100644 --- a/infra/modules/azure_app_service_exposed/examples/complete/versions.tf +++ b/infra/modules/azure_app_service_exposed/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service_exposed/main.tf b/infra/modules/azure_app_service_exposed/main.tf index b264c0540..92c65c44c 100644 --- a/infra/modules/azure_app_service_exposed/main.tf +++ b/infra/modules/azure_app_service_exposed/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.111.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_app_service_exposed/tests/setup/README.md b/infra/modules/azure_app_service_exposed/tests/setup/README.md index 513dbd0ec..04169387c 100644 --- a/infra/modules/azure_app_service_exposed/tests/setup/README.md +++ b/infra/modules/azure_app_service_exposed/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service_exposed/tests/setup/main.tf b/infra/modules/azure_app_service_exposed/tests/setup/main.tf index 8aeb2a178..187ebf0ca 100644 --- a/infra/modules/azure_app_service_exposed/tests/setup/main.tf +++ b/infra/modules/azure_app_service_exposed/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } @@ -27,4 +27,4 @@ resource "azurerm_resource_group" "rg" { output "resource_group_name" { value = azurerm_resource_group.rg.name -} \ No newline at end of file +} diff --git a/infra/modules/azure_app_service_plan_autoscaler/README.md b/infra/modules/azure_app_service_plan_autoscaler/README.md index ab51301d9..6128f5650 100644 --- a/infra/modules/azure_app_service_plan_autoscaler/README.md +++ b/infra/modules/azure_app_service_plan_autoscaler/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.100.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_app_service_plan_autoscaler/main.tf b/infra/modules/azure_app_service_plan_autoscaler/main.tf index 8e87cb8ca..277cea97c 100644 --- a/infra/modules/azure_app_service_plan_autoscaler/main.tf +++ b/infra/modules/azure_app_service_plan_autoscaler/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.100.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_cosmos_account/README.md b/infra/modules/azure_cosmos_account/README.md index a275a3539..af31d9694 100644 --- a/infra/modules/azure_cosmos_account/README.md +++ b/infra/modules/azure_cosmos_account/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | ~> 3.30 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_cosmos_account/data.tf b/infra/modules/azure_cosmos_account/data.tf index 71f350915..a59994b02 100644 --- a/infra/modules/azure_cosmos_account/data.tf +++ b/infra/modules/azure_cosmos_account/data.tf @@ -1,4 +1,4 @@ data "azurerm_private_dns_zone" "cosmos" { name = "privatelink.documents.azure.com" resource_group_name = var.private_dns_zone_resource_group_name -} \ No newline at end of file +} diff --git a/infra/modules/azure_cosmos_account/examples/complete/README.md b/infra/modules/azure_cosmos_account/examples/complete/README.md index 1372debdf..f949b093c 100644 --- a/infra/modules/azure_cosmos_account/examples/complete/README.md +++ b/infra/modules/azure_cosmos_account/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_cosmos_account/examples/complete/versions.tf b/infra/modules/azure_cosmos_account/examples/complete/versions.tf index 4eaaec860..6d9f05f44 100644 --- a/infra/modules/azure_cosmos_account/examples/complete/versions.tf +++ b/infra/modules/azure_cosmos_account/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_cosmos_account/examples/minimum/README.md b/infra/modules/azure_cosmos_account/examples/minimum/README.md index b0d479e7a..fe887a247 100644 --- a/infra/modules/azure_cosmos_account/examples/minimum/README.md +++ b/infra/modules/azure_cosmos_account/examples/minimum/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_cosmos_account/examples/minimum/versions.tf b/infra/modules/azure_cosmos_account/examples/minimum/versions.tf index 293acca1e..9e2a27501 100644 --- a/infra/modules/azure_cosmos_account/examples/minimum/versions.tf +++ b/infra/modules/azure_cosmos_account/examples/minimum/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_cosmos_account/main.tf b/infra/modules/azure_cosmos_account/main.tf index 24d37d7d9..e9967c9b4 100644 --- a/infra/modules/azure_cosmos_account/main.tf +++ b/infra/modules/azure_cosmos_account/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.30" + version = ">= 3.110, < 5.0" } } } @@ -18,4 +18,4 @@ module "naming_convention" { app_name = var.environment.app_name instance_number = var.environment.instance_number } -} \ No newline at end of file +} diff --git a/infra/modules/azure_cosmos_account/tests/setup/README.md b/infra/modules/azure_cosmos_account/tests/setup/README.md index 1f0f8d099..f8cd611c2 100644 --- a/infra/modules/azure_cosmos_account/tests/setup/README.md +++ b/infra/modules/azure_cosmos_account/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_cosmos_account/tests/setup/main.tf b/infra/modules/azure_cosmos_account/tests/setup/main.tf index 157e6cc19..a5e8c50a1 100644 --- a/infra/modules/azure_cosmos_account/tests/setup/main.tf +++ b/infra/modules/azure_cosmos_account/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_event_hub/README.md b/infra/modules/azure_event_hub/README.md index 80a5979fc..cbce9a967 100644 --- a/infra/modules/azure_event_hub/README.md +++ b/infra/modules/azure_event_hub/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.111.0, <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_event_hub/example/complete/README.md b/infra/modules/azure_event_hub/example/complete/README.md index f6694842d..14d41179d 100644 --- a/infra/modules/azure_event_hub/example/complete/README.md +++ b/infra/modules/azure_event_hub/example/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_event_hub/example/complete/versions.tf b/infra/modules/azure_event_hub/example/complete/versions.tf index e5b5ec0cf..40f60995a 100644 --- a/infra/modules/azure_event_hub/example/complete/versions.tf +++ b/infra/modules/azure_event_hub/example/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_event_hub/main.tf b/infra/modules/azure_event_hub/main.tf index 647c600df..ed2694246 100644 --- a/infra/modules/azure_event_hub/main.tf +++ b/infra/modules/azure_event_hub/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.111.0, <= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } @@ -98,4 +98,4 @@ resource "azurerm_eventhub_authorization_rule" "authorization_rule" { manage = each.value.key.manage depends_on = [azurerm_eventhub.events] -} \ No newline at end of file +} diff --git a/infra/modules/azure_event_hub/tests/setup/README.md b/infra/modules/azure_event_hub/tests/setup/README.md index 77ad06442..8d27dfd4f 100644 --- a/infra/modules/azure_event_hub/tests/setup/README.md +++ b/infra/modules/azure_event_hub/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.111.0, <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_event_hub/tests/setup/main.tf b/infra/modules/azure_event_hub/tests/setup/main.tf index 370bb2cd6..2b25775ae 100644 --- a/infra/modules/azure_event_hub/tests/setup/main.tf +++ b/infra/modules/azure_event_hub/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.111.0, <= 3.116.0" + version = ">= 3.111.0, < 5.0" } } } diff --git a/infra/modules/azure_federated_identity_with_github/README.md b/infra/modules/azure_federated_identity_with_github/README.md index 431c3a8e0..00b231dc8 100644 --- a/infra/modules/azure_federated_identity_with_github/README.md +++ b/infra/modules/azure_federated_identity_with_github/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | ~>3.86 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_federated_identity_with_github/main.tf b/infra/modules/azure_federated_identity_with_github/main.tf index 99e4895c5..09accb9a9 100644 --- a/infra/modules/azure_federated_identity_with_github/main.tf +++ b/infra/modules/azure_federated_identity_with_github/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~>3.86" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_function_app/README.md b/infra/modules/azure_function_app/README.md index c887b2d32..d293edd05 100644 --- a/infra/modules/azure_function_app/README.md +++ b/infra/modules/azure_function_app/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.100.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app/examples/complete/README.md b/infra/modules/azure_function_app/examples/complete/README.md index c41d840f8..5a65caf0b 100644 --- a/infra/modules/azure_function_app/examples/complete/README.md +++ b/infra/modules/azure_function_app/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app/examples/complete/versions.tf b/infra/modules/azure_function_app/examples/complete/versions.tf index 21745d98c..11b30bb78 100644 --- a/infra/modules/azure_function_app/examples/complete/versions.tf +++ b/infra/modules/azure_function_app/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_function_app/main.tf b/infra/modules/azure_function_app/main.tf index 4e6bd4cf3..1b3a62621 100644 --- a/infra/modules/azure_function_app/main.tf +++ b/infra/modules/azure_function_app/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.100.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_function_app/tests/setup/README.md b/infra/modules/azure_function_app/tests/setup/README.md index e4d4f2701..7848bb7c5 100644 --- a/infra/modules/azure_function_app/tests/setup/README.md +++ b/infra/modules/azure_function_app/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app/tests/setup/main.tf b/infra/modules/azure_function_app/tests/setup/main.tf index 322efbfca..7c4efaa0a 100644 --- a/infra/modules/azure_function_app/tests/setup/main.tf +++ b/infra/modules/azure_function_app/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_function_app_exposed/README.md b/infra/modules/azure_function_app_exposed/README.md index 87e41308e..d427dc4b6 100644 --- a/infra/modules/azure_function_app_exposed/README.md +++ b/infra/modules/azure_function_app_exposed/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | >= 3.100.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app_exposed/examples/complete/README.md b/infra/modules/azure_function_app_exposed/examples/complete/README.md index 0c6ab1a50..a81582749 100644 --- a/infra/modules/azure_function_app_exposed/examples/complete/README.md +++ b/infra/modules/azure_function_app_exposed/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app_exposed/examples/complete/versions.tf b/infra/modules/azure_function_app_exposed/examples/complete/versions.tf index 20e47c01d..fabf37a62 100644 --- a/infra/modules/azure_function_app_exposed/examples/complete/versions.tf +++ b/infra/modules/azure_function_app_exposed/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_function_app_exposed/main.tf b/infra/modules/azure_function_app_exposed/main.tf index 4e6bd4cf3..1b3a62621 100644 --- a/infra/modules/azure_function_app_exposed/main.tf +++ b/infra/modules/azure_function_app_exposed/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.100.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_function_app_exposed/tests/setup/README.md b/infra/modules/azure_function_app_exposed/tests/setup/README.md index e4d4f2701..7848bb7c5 100644 --- a/infra/modules/azure_function_app_exposed/tests/setup/README.md +++ b/infra/modules/azure_function_app_exposed/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 | ## Modules diff --git a/infra/modules/azure_function_app_exposed/tests/setup/main.tf b/infra/modules/azure_function_app_exposed/tests/setup/main.tf index 322efbfca..7c4efaa0a 100644 --- a/infra/modules/azure_function_app_exposed/tests/setup/main.tf +++ b/infra/modules/azure_function_app_exposed/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.100.0, < 5.0" } } } diff --git a/infra/modules/azure_postgres_server/README.md b/infra/modules/azure_postgres_server/README.md index 9a137a1ac..3d8d24d24 100644 --- a/infra/modules/azure_postgres_server/README.md +++ b/infra/modules/azure_postgres_server/README.md @@ -6,7 +6,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | ~> 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.116, < 5.0 | ## Modules diff --git a/infra/modules/azure_postgres_server/example/complete/README.md b/infra/modules/azure_postgres_server/example/complete/README.md index 8f4fe6b54..d613a8700 100644 --- a/infra/modules/azure_postgres_server/example/complete/README.md +++ b/infra/modules/azure_postgres_server/example/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.116, < 5.0 | ## Modules diff --git a/infra/modules/azure_postgres_server/example/complete/versions.tf b/infra/modules/azure_postgres_server/example/complete/versions.tf index f1a892edb..ab4a6c565 100644 --- a/infra/modules/azure_postgres_server/example/complete/versions.tf +++ b/infra/modules/azure_postgres_server/example/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.116, < 5.0" } } } diff --git a/infra/modules/azure_postgres_server/main.tf b/infra/modules/azure_postgres_server/main.tf index c6a23d2fb..1d83fee52 100644 --- a/infra/modules/azure_postgres_server/main.tf +++ b/infra/modules/azure_postgres_server/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.116.0" + version = ">= 3.116, < 5.0" } } } @@ -80,4 +80,4 @@ resource "azurerm_postgresql_flexible_server_configuration" "pgbouncer" { name = "pgbouncer.enabled" server_id = azurerm_postgresql_flexible_server.this.id value = "true" -} \ No newline at end of file +} diff --git a/infra/modules/azure_postgres_server/tests/setup/README.md b/infra/modules/azure_postgres_server/tests/setup/README.md index 15225a4c3..cc9b03d78 100644 --- a/infra/modules/azure_postgres_server/tests/setup/README.md +++ b/infra/modules/azure_postgres_server/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.116, < 5.0 | ## Modules diff --git a/infra/modules/azure_postgres_server/tests/setup/main.tf b/infra/modules/azure_postgres_server/tests/setup/main.tf index f9f223c28..76520eb47 100644 --- a/infra/modules/azure_postgres_server/tests/setup/main.tf +++ b/infra/modules/azure_postgres_server/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.116, < 5.0" } } } diff --git a/infra/modules/azure_role_assignments/README.md b/infra/modules/azure_role_assignments/README.md index 5ec76f07c..8c435db90 100644 --- a/infra/modules/azure_role_assignments/README.md +++ b/infra/modules/azure_role_assignments/README.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | ~> 3.106 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_role_assignments/examples/function_app/README.md b/infra/modules/azure_role_assignments/examples/function_app/README.md index 66adbe5f5..a28bff7ca 100644 --- a/infra/modules/azure_role_assignments/examples/function_app/README.md +++ b/infra/modules/azure_role_assignments/examples/function_app/README.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules @@ -28,4 +28,4 @@ No inputs. ## Outputs No outputs. - \ No newline at end of file + diff --git a/infra/modules/azure_role_assignments/examples/function_app/versions.tf b/infra/modules/azure_role_assignments/examples/function_app/versions.tf index 892bb3200..8995272ba 100644 --- a/infra/modules/azure_role_assignments/examples/function_app/versions.tf +++ b/infra/modules/azure_role_assignments/examples/function_app/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_role_assignments/examples/users_assigned_identity/README.md b/infra/modules/azure_role_assignments/examples/users_assigned_identity/README.md index 52aef5439..ff89d7bb8 100644 --- a/infra/modules/azure_role_assignments/examples/users_assigned_identity/README.md +++ b/infra/modules/azure_role_assignments/examples/users_assigned_identity/README.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules @@ -25,4 +25,4 @@ No inputs. ## Outputs No outputs. - \ No newline at end of file + diff --git a/infra/modules/azure_role_assignments/examples/users_assigned_identity/versions.tf b/infra/modules/azure_role_assignments/examples/users_assigned_identity/versions.tf index 74b64bc29..9c0432694 100644 --- a/infra/modules/azure_role_assignments/examples/users_assigned_identity/versions.tf +++ b/infra/modules/azure_role_assignments/examples/users_assigned_identity/versions.tf @@ -10,11 +10,14 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } provider "azurerm" { features {} + + storage_use_azuread = true } + diff --git a/infra/modules/azure_role_assignments/providers.tf b/infra/modules/azure_role_assignments/providers.tf index 79a0e58d8..2babb30aa 100644 --- a/infra/modules/azure_role_assignments/providers.tf +++ b/infra/modules/azure_role_assignments/providers.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.106" + version = ">= 3.110, < 5.0" } } -} \ No newline at end of file +} diff --git a/infra/modules/azure_role_assignments/tests/exec/README.md b/infra/modules/azure_role_assignments/tests/exec/README.md index c7e578878..5deb620e0 100644 --- a/infra/modules/azure_role_assignments/tests/exec/README.md +++ b/infra/modules/azure_role_assignments/tests/exec/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | | [local](#requirement\_local) | 2.5.2 | | [null](#requirement\_null) | 3.2.3 | diff --git a/infra/modules/azure_role_assignments/tests/exec/main.tf b/infra/modules/azure_role_assignments/tests/exec/main.tf index 7bf8f2f98..952592dba 100644 --- a/infra/modules/azure_role_assignments/tests/exec/main.tf +++ b/infra/modules/azure_role_assignments/tests/exec/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } null = { source = "hashicorp/null" diff --git a/infra/modules/azure_role_assignments/tests/setup/README.md b/infra/modules/azure_role_assignments/tests/setup/README.md index e27fc1d07..5f3ec0047 100644 --- a/infra/modules/azure_role_assignments/tests/setup/README.md +++ b/infra/modules/azure_role_assignments/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_role_assignments/tests/setup/main.tf b/infra/modules/azure_role_assignments/tests/setup/main.tf index b926b5dd4..47fe30470 100644 --- a/infra/modules/azure_role_assignments/tests/setup/main.tf +++ b/infra/modules/azure_role_assignments/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_storage_account/README.md b/infra/modules/azure_storage_account/README.md index 505639ebe..fb7bb3b28 100644 --- a/infra/modules/azure_storage_account/README.md +++ b/infra/modules/azure_storage_account/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | ~> 3.30 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_storage_account/examples/complete/README.md b/infra/modules/azure_storage_account/examples/complete/README.md index 56ef05434..abcdf48d7 100644 --- a/infra/modules/azure_storage_account/examples/complete/README.md +++ b/infra/modules/azure_storage_account/examples/complete/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_storage_account/examples/complete/versions.tf b/infra/modules/azure_storage_account/examples/complete/versions.tf index c461a229a..06e515539 100644 --- a/infra/modules/azure_storage_account/examples/complete/versions.tf +++ b/infra/modules/azure_storage_account/examples/complete/versions.tf @@ -10,7 +10,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_storage_account/main.tf b/infra/modules/azure_storage_account/main.tf index e6814665a..385e72277 100644 --- a/infra/modules/azure_storage_account/main.tf +++ b/infra/modules/azure_storage_account/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.30" + version = ">= 3.110, < 5.0" } } } diff --git a/infra/modules/azure_storage_account/tests/setup/README.md b/infra/modules/azure_storage_account/tests/setup/README.md index 7ec6abc46..206c81319 100644 --- a/infra/modules/azure_storage_account/tests/setup/README.md +++ b/infra/modules/azure_storage_account/tests/setup/README.md @@ -5,7 +5,7 @@ | Name | Version | |------|---------| -| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 | ## Modules diff --git a/infra/modules/azure_storage_account/tests/setup/main.tf b/infra/modules/azure_storage_account/tests/setup/main.tf index 7d2741f31..d57c7f09e 100644 --- a/infra/modules/azure_storage_account/tests/setup/main.tf +++ b/infra/modules/azure_storage_account/tests/setup/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "<= 3.116.0" + version = ">= 3.110, < 5.0" } } }