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
Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
"azure-cli": "2.26.0"
"azure-cli-core": "2.26.0"
"azure-cli-telemetry": "1.0.6"
Bicep CLI version 0.4.412 (f1169d0)
Describe the bug
A clear and concise description of what the bug is vs what you expected to happen
The output for the what-if operation doesn't include all resources defined in the bicep template.
The deployment of all resources defined in the template succeeds, just not all show up in the what-if output.
To Reproduce
Steps to reproduce the behavior:
Extract the attached Bicep files to deploy Azure resources using the CLI.
Login to Azure with: az login
Then issue a what-if deployment operation for a subscription level deployment: az deployment sub what-if --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep'
Also tried the --no-pretty-print option: az deployment sub what-if --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep' --no-pretty-print
or using: az deployment sub --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep' --confirm-with-what-if
The scope, storage account, blob container resources are output but not the Azure Synapse Workspace resource:
Are you passing in a module output or resource property into the module as a param? If so, this is most likely an instance of Azure/arm-template-whatif#157
Bicep version
run
bicep --version
via the Bicep CLI,az bicep version
via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep"azure-cli": "2.26.0"
"azure-cli-core": "2.26.0"
"azure-cli-telemetry": "1.0.6"
Bicep CLI version 0.4.412 (f1169d0)
Describe the bug
A clear and concise description of what the bug is vs what you expected to happen
The output for the what-if operation doesn't include all resources defined in the bicep template.
The deployment of all resources defined in the template succeeds, just not all show up in the what-if output.
To Reproduce
Steps to reproduce the behavior:
Extract the attached Bicep files to deploy Azure resources using the CLI.
Login to Azure with:
az login
Then issue a what-if deployment operation for a subscription level deployment:
az deployment sub what-if --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep'
Also tried the --no-pretty-print option:
az deployment sub what-if --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep' --no-pretty-print
or using:
az deployment sub --name 'deploymentName' --location 'region' --template-file '.\src\bicep\deployAnalyticsPlatform.bicep' --confirm-with-what-if
The scope, storage account, blob container resources are output but not the Azure Synapse Workspace resource:

The source files:
src.zip
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: