Azure / terraform-azurerm-caf-enterprise-scale

Azure landing zones Terraform module
https://aka.ms/alz/tf
MIT License
855 stars 562 forks source link

Upgrade es-caf azurerm provider from 3.116.0 to 4.0.0 #1157

Open MrKeithM opened 5 days ago

MrKeithM commented 5 days ago

Community Note

Versions

terraform: hashicorp/ - version = "3.116.0"

azure provider: azurerm

module:

Description

Im trying to upgrade the azurerm provider in my es-caf-module from version from "3.116.0" to "4.0.0" when the plan runs I get this error:

ā•· ā”‚ Error: Unsupported argument ā”‚ ā”‚ on .terraform/modules/enterprise_scale/resources.connectivity.tf line 58, in resource "azurerm_subnet" "connectivity": ā”‚ 58: private_endpoint_network_policies_enabled = each.value.template.private_endpoint_network_policies_enabled ā”‚ ā”‚ An argument named "private_endpoint_network_policies_enabled" is not ā”‚ expected here.

this error is based on a file on the resources.connectivity.tf file within the >>> .terraform/modules/enterprise_scale/resources.connectivity.tf fileany changes to this doesnt seem to be picked up. I have commented it out with no good results.

Steps to Reproduce

1) upgrade hashicorp/azurerm version from version "3.116.0" to version "4.0.0" 2) error should show up on the planning section citing an unrecognised arguement

Screenshots

Additional context

Im a rookie at managing ES-CAF and providers please let me know if this question is inapporpiate for this forum. Many Thanks.

kewalaka commented 3 days ago

This is a duplicate of https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues/1123

As noted on that issue, support for AzureRM v4 is currently targetted for v7 of this module.

MrKeithM commented 3 days ago

This is a duplicate of #1123

As noted on that issue, support for AzureRM v4 is currently targetted for v7 of this module.

apoligies for the duplicate question, will track the updates on the referenced issue šŸ‘šŸ¾