-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Shared Gallery Image to which to publish the managed image version to does not exist in the resource group #7809
Comments
Looks like you have to pre-stage the Image Definition in the Shared Image Gallery that you are calling via the template. This probably needs to be documented here - https://www.packer.io/docs/builders/azure.html |
I'm coming up against this and have no idea how to solve it. Any quick documentation that can be captured in this issue to help others in the meantime? EDIT: for me, the solution was to make sure the Image Definition had the same name as the Managed Image Name...that solved it, after having had created the Image Definition and still had issues. |
I'm also having this issue - do we really need to pre-stage the image definition (even though there is no image as yet) in Azure Shared Image gallery? |
@slime-uk Yes, you do. At the moment there seem to be two (or three, depending on how you look at it) options to do so:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Describe the problem and include the following information: When attempting to deploy Azure Managed Image to Shared Image Gallery using new "shared_image_gallery_destination" and I'm getting the following error
Build 'azure-arm' errored: the Shared Gallery Image to which to publish the managed image version to does not exist in the resource group MBPRD-IMAGES
packer version
= 1.4.2The text was updated successfully, but these errors were encountered: