# export all ec2 tags

**URL:** <https://forum.ansible.com/t/export-all-ec2-tags/36129>\
**Category:** Ansible Project\
**Created:** [December 18, 2021, 11:38pm UTC](https://forum.ansible.com/t/export-all-ec2-tags/36129 "2021-12-18T23:38:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiran\_Kumar](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Post date:** [December 18, 2021, 11:38pm UTC](https://forum.ansible.com/t/export-all-ec2-tags/36129/1 "2021-12-18T23:38:47Z")

</div>

Hi

below playbook only export 1 ec2 tags

Any please suggestions how can i modify to export all

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [December 19, 2021, 5:49am UTC](https://forum.ansible.com/t/export-all-ec2-tags/36129/2 "2021-12-19T05:49:36Z")

</div>

> Hi
> 
> below playbook only export 1 ec2 tags

That is ambiguous.  
Please provide a better description.  
Does it mean tags for one instance? Or a single tag for multiple instances.  
Or something else even.

Best to just paste real playbook output.

Also does this wildcard pattern for the resource parameter actually work?  
The docs (  
[https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2\_tag\_info\_module.html#parameter-resource](https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_tag_info_module.html#parameter-resource)) seem to suggest it requires an actual full id.  
Is this maybe the source of your problem?
