# Update EC2 tags - just change case

**URL:** <https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [December 9, 2021, 2:09am UTC](https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086 "2021-12-09T02:09:52Z")\
**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 9, 2021, 2:09am UTC](https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086/1 "2021-12-09T02:09:52Z")

</div>

Hi

i have an ec2 with multiple volumes & each vol has tag

the ec2 volumes tag need to keep same just change case , in my case making all lower will help

eg current tag

abc\_Prod\_root\_vol1  
abc\_Prod\_root\_vol2

abc\_Prod\_root\_vol3

…  
…

So make them

abc\_prod\_root\_vol1

abc\_prod\_root\_vol2

abc\_prod\_root\_vol3

looks not easy way with [https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2\_tag\_module.html](https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_tag_module.html)

Any suggestions pls

Thanks  
Kiran

---

<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 9, 2021, 5:31am UTC](https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086/2 "2021-12-09T05:31:49Z")

</div>

I think there is no such thing as renaming tags. You’d have the create new tags with the same values and remove the old tags.
