Skip to content

New-AzResourceGroupDeployment - Update Bicep Version? #27467

Open
@hwwilliams

Description

@hwwilliams

Description

How do I update the Bicep version used by New-AzResourceGroupDeployment?

There is currently a bug in 34.1 that is affecting my companies work and no matter what we do to update the version using az bicep upgrade the PowerShell command continues to use the bugged version as shown below in the image.

Azure/bicep#16676

This Bicep is being ran on the GitHub runner ubuntu-latest.

Image

Script or Debug output

az bicep upgrade

$AzResourceGroupDeploymentParameters = @{
    Force                      = $true
    Mode                       = "Incremental"
    Name                       = $Name
    ResourceGroupName          = $ResourceGroupName
    TemplateFile               = "./bicep/main.bicep"
    Verbose                    = $true
}
New-AzResourceGroupDeployment @AzResourceGroupDeploymentParameters

Environment data

Module versions

Error output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionThis issue is responsible by Azure service team.arm-bicepDealing with bicep issuescustomer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions