-
Notifications
You must be signed in to change notification settings - Fork 338
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
ec2_metadata_facts: Add support to query instance tags + values #2293
Comments
abikouo
added
feature
This issue/PR relates to a feature request
needs_verified
Some one might want to take a look at this and reproduce it to confirm
and removed
needs_triage
labels
Sep 11, 2024
tremble
added
docs
and removed
needs_verified
Some one might want to take a look at this and reproduce it to confirm
labels
Sep 11, 2024
It's currently not very "obvious" but they are returned... Running the integration test we have for this module:
The tag values are accessible under Originally it wasn't possible to return dictionaries as fact values, this is now possible, so it might make sense to support returning the tags as a dict... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_metadata_facts_module.html#return-ansible_facts/ansible_ec2_instance_tags_keys
States that it returns the keys. But, there is no way to get the values.
Can we add a way to get the tag Values?
Issue Type
Feature Idea
Component Name
ec2_metadata_facts
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: