From 221d317e3b43ea93d64fc899d69e04d4895af453 Mon Sep 17 00:00:00 2001 From: Jack Tracey <41163455+jtracey93@users.noreply.github.com> Date: Wed, 8 Jan 2025 15:12:57 +0000 Subject: [PATCH] feat: update to azurermv4 (#62) * bump dependant module version and tf config to support azurerm v4 * pre-coomit ran --- README.md | 4 ++-- examples/custom-zones-vnet-link-existing-rg/README.md | 4 ++-- examples/custom-zones-vnet-link-existing-rg/main.tf | 2 +- examples/default/README.md | 4 ++-- examples/default/main.tf | 2 +- examples/with-vnet-link-existing-rg/README.md | 4 ++-- examples/with-vnet-link-existing-rg/main.tf | 2 +- main.tf | 2 +- terraform.tf | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3b3696d..6fdce4b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The following requirements are needed by this module: - [terraform](#requirement\_terraform) (~> 1.5) -- [azurerm](#requirement\_azurerm) (>= 3.116.0, < 4.0) +- [azurerm](#requirement\_azurerm) (>= 4.0, < 5.0) - [modtm](#requirement\_modtm) (~> 0.3) @@ -443,7 +443,7 @@ The following Modules are called: Source: Azure/avm-res-network-privatednszone/azurerm -Version: 0.2.1 +Version: 0.2.2 ## Data Collection diff --git a/examples/custom-zones-vnet-link-existing-rg/README.md b/examples/custom-zones-vnet-link-existing-rg/README.md index 58f25af..9a6478e 100644 --- a/examples/custom-zones-vnet-link-existing-rg/README.md +++ b/examples/custom-zones-vnet-link-existing-rg/README.md @@ -13,7 +13,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" @@ -117,7 +117,7 @@ The following requirements are needed by this module: - [terraform](#requirement\_terraform) (~> 1.5) -- [azurerm](#requirement\_azurerm) (>= 3.116.0, < 4.0) +- [azurerm](#requirement\_azurerm) (>= 4.0, < 5.0) - [random](#requirement\_random) (~> 3.5) diff --git a/examples/custom-zones-vnet-link-existing-rg/main.tf b/examples/custom-zones-vnet-link-existing-rg/main.tf index dcb78ff..0bb5064 100644 --- a/examples/custom-zones-vnet-link-existing-rg/main.tf +++ b/examples/custom-zones-vnet-link-existing-rg/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" diff --git a/examples/default/README.md b/examples/default/README.md index 290c45c..2f5d8db 100644 --- a/examples/default/README.md +++ b/examples/default/README.md @@ -11,7 +11,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" @@ -71,7 +71,7 @@ The following requirements are needed by this module: - [terraform](#requirement\_terraform) (~> 1.5) -- [azurerm](#requirement\_azurerm) (>= 3.116.0, < 4.0) +- [azurerm](#requirement\_azurerm) (>= 4.0, < 5.0) - [random](#requirement\_random) (~> 3.5) diff --git a/examples/default/main.tf b/examples/default/main.tf index 4338b37..53e512b 100644 --- a/examples/default/main.tf +++ b/examples/default/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" diff --git a/examples/with-vnet-link-existing-rg/README.md b/examples/with-vnet-link-existing-rg/README.md index c4a27a7..15900d0 100644 --- a/examples/with-vnet-link-existing-rg/README.md +++ b/examples/with-vnet-link-existing-rg/README.md @@ -11,7 +11,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" @@ -101,7 +101,7 @@ The following requirements are needed by this module: - [terraform](#requirement\_terraform) (~> 1.5) -- [azurerm](#requirement\_azurerm) (>= 3.116.0, < 4.0) +- [azurerm](#requirement\_azurerm) (>= 4.0, < 5.0) - [random](#requirement\_random) (~> 3.5) diff --git a/examples/with-vnet-link-existing-rg/main.tf b/examples/with-vnet-link-existing-rg/main.tf index bad7233..98999ae 100644 --- a/examples/with-vnet-link-existing-rg/main.tf +++ b/examples/with-vnet-link-existing-rg/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } random = { source = "hashicorp/random" diff --git a/main.tf b/main.tf index 56a7e47..980a45a 100644 --- a/main.tf +++ b/main.tf @@ -12,7 +12,7 @@ module "avm_res_network_privatednszone" { for_each = local.combined_private_link_private_dns_zones_replaced_with_vnets_to_link source = "Azure/avm-res-network-privatednszone/azurerm" - version = "0.2.1" + version = "0.2.2" resource_group_name = var.resource_group_creation_enabled ? azurerm_resource_group.this[0].name : var.resource_group_name domain_name = each.value.zone_value.zone_name diff --git a/terraform.tf b/terraform.tf index e72f9c6..f0da295 100644 --- a/terraform.tf +++ b/terraform.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.116.0, < 4.0" + version = ">= 4.0, < 5.0" } modtm = { source = "Azure/modtm"