Skip to content
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

Add support for tags #5

Open
ghost opened this issue Apr 15, 2021 · 1 comment
Open

Add support for tags #5

ghost opened this issue Apr 15, 2021 · 1 comment
Assignees
Labels
builder/vsphere-clone Builder: vsphere-clone builder/vsphere-iso Builder: vsphere-iso enhancement
Milestone

Comments

@ghost
Copy link

ghost commented Apr 15, 2021

This issue was originally opened by @dbond007 as hashicorp/packer#10147. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


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

Allow the adding of tags to templates within vsphere/esxi like available within terraform.

Use Case(s)

Allows adding tags to templates so you can add information about the template for example build date, OS version, roles, build version, builder etc So information on the template can be extracted instead of needing to encode as much of this in the template name or external database.

Potential configuration

see references

Potential References

https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/tag_category
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/tag
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/custom_attribute

hmalphettes pushed a commit to hmalphettes/packer-plugin-vsphere that referenced this issue May 7, 2022
@tenthirtyam tenthirtyam added the builder/vsphere-clone Builder: vsphere-clone label Nov 4, 2022
@tenthirtyam tenthirtyam changed the title vsphere-(iso/clone) tags and custom attributes vsphere-iso/clone: Add support for tags and custom attributes Nov 5, 2022
@Shocktrooper
Copy link

This would be useful to add just like the EBS builder has already. Preferrably there is a run_tags and a normal tags and a run_custom_attributes and a normal custom_attributes added. My organization does backup based off of Vsphere tags and it is picking up the packer builds for backing up currently which is taking up space and costing my organization time and money to store and clean up these from time to time. Adding a tag during the build process would negate this from happening.

Related functionality in EBS builder

@tenthirtyam tenthirtyam added this to the Backlog milestone Apr 17, 2024
@tenthirtyam tenthirtyam changed the title vsphere-iso/clone: Add support for tags and custom attributes Add support for tags and custom attributes May 30, 2024
@tenthirtyam tenthirtyam changed the title Add support for tags and custom attributes Add support for tags Jun 18, 2024
@tenthirtyam tenthirtyam self-assigned this Jul 10, 2024
@tenthirtyam tenthirtyam modified the milestones: Backlog, v1.4.0 Jul 10, 2024
@tenthirtyam tenthirtyam modified the milestones: v1.5.0, Backlog Sep 4, 2024
@tenthirtyam tenthirtyam modified the milestones: Backlog, v1.6.0 Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builder/vsphere-clone Builder: vsphere-clone builder/vsphere-iso Builder: vsphere-iso enhancement
Projects
None yet
Development

No branches or pull requests

2 participants