packer-plugin-googlecompute icon indicating copy to clipboard operation
packer-plugin-googlecompute copied to clipboard

Add a way to set lifecycle properties of the image

Open imrannayer opened this issue 8 months ago • 1 comments

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 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

Users can manage lifecycle of an image by [setting deprecate, obsolete and delete date](https://cloud.google.com/compute/docs/images/deprecate-custom. They have to use CLI to set these properties. It will be great to have deprecate_at, obsolete_at and delete_at parameters to manage lifecycle of the image.

Use Case(s)

AWS packer builder allows parameter deprecate_at

Potential configuration

deprecate_at = `2025-05-01`

Potential References

https://cloud.google.com/compute/docs/images/image-management-best-practices https://cloud.google.com/compute/docs/images/deprecate-custom

imrannayer avatar Jan 29 '25 22:01 imrannayer