-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Infrastructure as Code Type? (Required)
terraform
PowerShell Module Version (Optional)
No response
Bootstrap Module Version (Optional)
v5.0.0
Starter Module? (Required)
terraform - platform_landing_zone
Starter Module Version (Optional)
v9.0.1
Input arguments of the ALZ-PowerShell-Module (Optional)
No response
Debug Output/Panic Output (Optional)
Expected Behaviour (Required)
Existing pipelines should function without any changes made to source code!
Actual Behaviour (Required)
The CI pipeline fails with the following:
╷
│ Error: architectureDataSource.Read() Error creating architecture alz_custom
│
│ with module.management_groups[0].module.management_groups.data.alz_architecture.this,
│ on .terraform/modules/management_groups.management_groups/main.tf line 1, in data "alz_architecture" "this":
│ 1: data "alz_architecture" "this" {
│
│ Hierarchy.FromArchitecture: recursion error on architecture alz_custom
│ Hierarchy.recurseAddManagementGroup: error adding management group alz:
│ Hierarchy.AddManagementGroup(): parameter minPort in policy set
│ definition 1f3afdf9-d0c9-4c3d-847f-89da613e70a8 does not match a
│ parameter in referenced definition 82985f06-dc18-4a48-bc1c-b9f4f0098cfe
│ in management group alz
╵
##[error]Script failed with exit code: 1
Steps to Reproduce (Optional)
Set "ref" to "2025.09.0" in alz_library_metadata.json
Important Factoids (Optional)
Nothing had changed in the repo code. This looks like an upstream issue?
Change the ref: value to "2025.09.1" resolves the issue.
References (Optional)
No response