# Tagging EC2 resources

**URL:** <https://forum.ansible.com/t/tagging-ec2-resources/19087>\
**Category:** Ansible Developer\
**Tags:** aws\
**Created:** [August 22, 2015, 8:10am UTC](https://forum.ansible.com/t/tagging-ec2-resources/19087 "2015-08-22T08:10:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Stanley\_Nguyen](https://forum.ansible.com/u/Stanley_Nguyen)\
**Post date:** [August 22, 2015, 8:10am UTC](https://forum.ansible.com/t/tagging-ec2-resources/19087/1 "2015-08-22T08:10:37Z")

</div>

I’m having a very simple problem but I find it quite tough to achieve in Ansible. Basically I have a list of machine’s IP address with a description:

[{ ip: “192.168.10.10”, desc: “test1”}, { ip: “192.168.10.11”, desc: “test2”}]

I then query AWS to get the instance IDs + internal IP addresses. I want to tag these instances with the “desc” in my list. What’s the best way to achieve this?

Thanks

Stanley
