I am trying to create custom policy in custom archetype with custom landing zones. However, I am getting below error
│ Error: Invalid index
│
│ on .terraform/modules/core.alz/modules/archetypes/locals.policy_assignments.tf line 100, in locals:
│ 100: template = local.archetype_policy_assignments_map[policy_assignment]
│ ├────────────────
│ │ local.archetype_policy_assignments_map is object with 51 attributes
│
│ The given key does not identify an element in this collection value.
terraform: 1.7.0 azure provider: 3.74.0 module: latest
I am trying to create custom policy in custom archetype with custom landing zones. However, I am getting below error
Below is my configuration
Custom ArcheType
Custom Policy Definition
Custom Policy Assignment
}
settings.json