-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Azure CLI bicep extenstion not present in ubuntu-24.04 #11987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is the latest version of ubuntu-latest that worked:
We tried to downgrade to 22.04 and get the same error as documented above, so we experience that 22.04 and 24.04 latest versions have the same issue |
This is the version info of the failing ubuntu-24.04:
And this is the version info of the failing ubuntu-22.04:
|
Literally copy of mine: Which was changed to not planned, Which makes no sense, since now people will create duplicate issues of this issue that I already reported and has to be fixed. The fix is updating the az cli library in the image runner with a newer version. @subir0071 I wonder what your opinion is on this. Since it is work that has to be done after the az cli library is fixed. For now its important that the temp fix is visible (by not changing this to not planned) |
I'll repeat the az cli issue which needs to be resolved and then their can be an updated az cli in the image runner. the temp fix: |
Hi @jakub-i ,Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating. |
We've had apparently the same issue today with the runner image az deployment group create \
--name "deploy" \
--resource-group groupToDeployTo \
--parameters ./parameters.bicepparam The job failed with this error message:
Running the command proposed by @BBTristanBenschop in a previous step fixed it for now. We'll see if a fix is pushed and we'll remove the workaround step once it is. |
I also have this issue, started today it seems. The workaround is fixing it, but obviously would prefer the base image to work as it used to without having to add more config shell commands. command that used to work, and now is broken on ubuntu-latest
workaround command that allows it to continue to work if run beforehand:
|
You are correct @BBTristanBenschop . |
Description
In our organization we are using ubuntu-latest and as of this week this is ubuntu-24-04
We debloy bicep templates to Azure Cloud using Azure CLI. In ubuntu-22.04 had bicep extension installed on the image and there was no need to build an ARM-template to use that.
We use:
Which has worked fine, but with ubuntu-24.04 we get following error:
I am unaware if this is intentional but it was functionality available before
Thanks in advance
Platforms affected
Runner images affected
Image version and build link
Is it regression?
Yes, this worked in earlier versions
Expected behavior
Expected behavior is that using bicep templates to deploy infrastructure to Azure Cloud using Azure CLI works as intended, meaning that bicep extension handles the trasplaining of bicep to ARM json format.
Actual behavior
Error as depicted in the screenshot in the description
Repro steps
The text was updated successfully, but these errors were encountered: