You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Versions
terraform: 1.9.8 (latest)
azure provider: 4.5.0
module: 5.2.0
Description
│ 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.
Describe the bug
All the time when I run caf-enterprise-scale module with version higher than 1.x.x I got this error message even it's very basic configuration.
Steps to Reproduce
Run terraform with basic configuration like following:
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "5.2.0"
Hi private_link_service_network_policies_enabled is the attribute name and it's correct in the latest version of the module. You either need to ping to an older provider version, or update the module.
Community Note
Versions
terraform: 1.9.8 (latest)
azure provider: 4.5.0
module: 5.2.0
Description
│ 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.
Describe the bug
All the time when I run caf-enterprise-scale module with version higher than 1.x.x I got this error message even it's very basic configuration.
Steps to Reproduce
Run terraform with basic configuration like following:
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "5.2.0"
providers = {
azurerm = azurerm
azurerm.management = azurerm
azurerm.connectivity = azurerm
}
Base module configuration settings.
root_parent_id = data.azurerm_client_config.current.tenant_id
root_id = local.root_id
root_name = local.root_name
default_location = local.default_location
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: