Skip to content

Commit

Permalink
[CES-601] Update Terraform modules to support azurerm v4 (#185)
Browse files Browse the repository at this point in the history
Co-authored-by: Krusty93 <[email protected]>
  • Loading branch information
Krusty93 and Krusty93 authored Dec 13, 2024
1 parent 885cacc commit f030f7c
Show file tree
Hide file tree
Showing 71 changed files with 81 additions and 78 deletions.
2 changes: 1 addition & 1 deletion infra/modules/azure_api_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "apim" {

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_api_management/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.111.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_api_management/tests/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_api_management/tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.100.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.100.0"
version = ">= 3.100.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service/tests/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service/tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.100.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service_exposed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This module is used to create an Azure App Service, allowing it to be configured

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service_exposed/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.111.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
4 changes: 2 additions & 2 deletions infra/modules/azure_app_service_exposed/tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand All @@ -27,4 +27,4 @@ resource "azurerm_resource_group" "rg" {

output "resource_group_name" {
value = azurerm_resource_group.rg.name
}
}
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service_plan_autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_app_service_plan_autoscaler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.100.0"
version = ">= 3.100.0, < 5.0"
}
}
}
2 changes: 1 addition & 1 deletion infra/modules/azure_cosmos_account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | ~> 3.30 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_cosmos_account/data.tf
Original file line number Diff line number Diff line change
@@ -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
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.110, < 5.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.110, < 5.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/azure_cosmos_account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.30"
version = ">= 3.110, < 5.0"
}
}
}
Expand All @@ -18,4 +18,4 @@ module "naming_convention" {
app_name = var.environment.app_name
instance_number = var.environment.instance_number
}
}
}
2 changes: 1 addition & 1 deletion infra/modules/azure_cosmos_account/tests/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_cosmos_account/tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.110, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_event_hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_event_hub/example/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_event_hub/example/complete/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/azure_event_hub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.111.0, <= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down Expand Up @@ -98,4 +98,4 @@ resource "azurerm_eventhub_authorization_rule" "authorization_rule" {
manage = each.value.key.manage

depends_on = [azurerm_eventhub.events]
}
}
2 changes: 1 addition & 1 deletion infra/modules/azure_event_hub/tests/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.111.0, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_event_hub/tests/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.111.0, <= 3.116.0"
version = ">= 3.111.0, < 5.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | ~>3.86 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.110, < 5.0 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_federated_identity_with_github/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~>3.86"
version = ">= 3.110, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_function_app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "<= 3.116.0"
version = ">= 3.100.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_function_app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.100.0"
version = ">= 3.100.0, < 5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infra/modules/azure_function_app/tests/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.100.0, < 5.0 |

## Modules

Expand Down
Loading

0 comments on commit f030f7c

Please sign in to comment.