Open AErmie opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Author: | AErmie |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `ARM`, `needs-triage` |
Milestone: | - |
route to service team
I suspect this is a known issue with what-if in ARM.
It might get a response from experts if you raise at https://github.com/Azure/bicep/issues. Please tag me if you do as I would love to see improvements in this area.
Describe the bug
When using
az deployment group what-if
with Azure Bicep templates that are called via modules, only modules without any dependencies actually produce/show their output (ie. what will be created). All other resources are not listed, giving the incorrect assumption that they will not be created.Command Name
az deployment group what-if --resource-group GHES-aermie --template-file main.bicep
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Sample Bicep code
Expected Behavior
From the above-listed Bicep example, output for both the NSG and VNET is expected, but only output for the NSG is produced.
Environment Summary
Additional Context
It may be related to Issue #19308