-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Two new print statements broke the Azure CLI deployment JSON output #32549
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportOutputService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportOutputService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Looks like this issue introduced two print statements causing the output of a
az deploymentto no longer be valid JSON.This only happens when using the
--parametersoption and a.bicepparamfile. Does not happen for--template-filetype deployments.`
Existing pipelines that piped the output of a az deployment to convertfrom-json now fail because of this.
Related command
az deployment sub create --parameters .\test.bicepparam --location westus --name testErrors
no errors
Issue script & Debug output
Expected behavior
Should not output the print statement:
Bicep CLI is already installed at 'C:\Users\foo\.azure\bin\bicep.exe'. Skipping installation as no specific version was requested.Environment Summary
Additional context
No response