hashicorp / hashicorp/packer-plugin-azure
Azure-ARM source provider be able to auto increment the shared_image_gallery_destination image_version
- Dominant language
- Go
- Stars
- 63
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
#### Community Note
Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
#### Description
When creating and adding a new Azure ARM image to an existing shared image gallery, it would be nice to be able to have packer determine the 'latest' version ( 1.0.1 ) and auto increment the source.arzure-arm.image.shared_image_gallery_destination.image_version to be automatically incremented by one ( 1.0.2 )
Image_Version must be in 'semantic version pattern' therefore I don't see a way to always generate unique version.
We also use the Azure provided Image Builder and it will increment the version for us automatically.
#### Use Case(s)
Any relevant use-cases that you see.
#### Potential configuration
```
```
#### Potential References
Contributor guide
Research direction
Start by searching existing issues for related Azure ARM feature requests, then inspect the source provider handling shared_image_gallery_destination and image_version. Define how the latest semantic version is determined and incremented, and verify that generated versions remain valid and unique.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100