amazon.aws icon indicating copy to clipboard operation
amazon.aws copied to clipboard

Implement instance metadata tags support

Open charltonstanley opened this issue 2 years ago • 4 comments

Summary

I would to enable instance metadata tags using ec2_instance. Additionally I'd like to be able to query those tags using ec2_metadata_facts

Issue Type

Feature Idea

Component Name

ec2_instance, ec2_metadata_facts

Additional Information

This feature will help me to enable the ability to query instance metadata tags, as well as actually query instance metadata tags. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS

Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

charltonstanley avatar Feb 17 '22 15:02 charltonstanley

Files identified in the description:

  • [plugins/modules/ec2_metadata_facts.py](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/ec2_metadata_facts.py)

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Feb 17 '22 15:02 ansibullbot

cc @jillr @roadmapper @s-hertel @silviud @tremble click here for bot help

ansibullbot avatar Feb 17 '22 15:02 ansibullbot

@charltonstanley Thank you for this feature idea. Would you be willing to implement it and open a pull request?

alinabuzachis avatar Feb 17 '22 19:02 alinabuzachis

@alinabuzachis I would if I knew a lick of python, but I don't. I'm not afraid to learn, but my commits ~might~ would lack sufficient sophistication to be worthy of inclusion in your code base. :smile:

charltonstanley avatar Feb 17 '22 19:02 charltonstanley