-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixed Compute-Image dependency -
avm/res/compute/image
(#2019)
## Description - The current combination of deployment script PowerShell version `8.0` and the installed [Az.ImageBuilder](https://www.powershellgallery.com/packages/Az.ImageBuilder/0.4.1) version `0.4.1` were incompatible (as the latter needs at least Az.Accounts version `2.19.0` installed, which is not available in pwsh `8.0`) - Upgrading just the Deployment Script's PowerShell version does not work, as the [latest available](https://[mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list)) is `11.5` which only has Az.Accounts version `2.13.0` installed - So, to solve the issue I updated the implementation to install Az.ImageBuilder version `0.4.0` explicitely which has only a dependency on Az.Accounts version `2.13.0`. - In the same way, I updated the installation of the `Az.Storage` module (which in its latest version required Az.Accounts `3.0.0`) ## Pipeline Reference <!-- Insert your Pipeline Status Badge below --> | Pipeline | | -------- | | [![avm.res.compute.image](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.compute.image.yml/badge.svg?branch=users%2Falsehr%2F1625_computeImageVersion&event=workflow_dispatch)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.compute.image.yml) | ## Type of Change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] Update to CI Environment or utlities (Non-module effecting changes) - [ ] Azure Verified Module updates: - [x] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation
- Loading branch information
1 parent
cfbe2e3
commit 2d04a5c
Showing
5 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters