Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature Request: Manage Custom Attributes for VMS (annotations) #120

Closed
rismoney opened this issue Aug 8, 2017 · 3 comments
Closed

Feature Request: Manage Custom Attributes for VMS (annotations) #120

rismoney opened this issue Aug 8, 2017 · 3 comments
Labels
enhancement Type: Enhancement new-resource Feature: New Resource

Comments

@rismoney
Copy link

rismoney commented Aug 8, 2017

Recently added was an annotation capability #111.

It would be great if we can create Custom attributes. Custom attributes apply to all machines in the inventory.

I would think the proper behavior here is:

  1. if the attribute doesn't exist create it. (On VMs this seems to be global)
  2. if the attribute exists (name), and it's value is different update it
  3. if the attribute exists (name), and it's value is the same noop it.

Welcome thoughts.

@vancluever
Copy link
Contributor

Hey @rismoney, this is a great suggestion! Will add it to the TODO.

Just did a bit of research on this one and I think that we could just implement most of the functionality that is in the fields module in the govc reference implementation.

Your idea on how the CRUD would work for this pretty much matches what the normal expected operation of TF, so we are on the same page here.

@vancluever vancluever added enhancement Type: Enhancement new-resource Feature: New Resource labels Aug 9, 2017
@rismoney
Copy link
Author

rismoney commented Mar 5, 2018

I think this can be safely closed, as there is solid attribute support in the provider at this time.

@rismoney rismoney closed this as completed Mar 5, 2018
@vancluever
Copy link
Contributor

Thanks @rismoney! This is definitely dated now that we have #229. Glad it's working for you now!

@ghost ghost locked and limited conversation to collaborators Apr 19, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement Type: Enhancement new-resource Feature: New Resource
Projects
None yet
Development

No branches or pull requests

2 participants