# Kill AWS EC2 instances based on TAG (without success)

**URL:** <https://forum.ansible.com/t/kill-aws-ec2-instances-based-on-tag-without-success/25745>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [October 13, 2017, 1:04am UTC](https://forum.ansible.com/t/kill-aws-ec2-instances-based-on-tag-without-success/25745 "2017-10-13T01:04:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardson](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Ricardson](https://forum.ansible.com/u/Ricardson)\
**Post date:** [October 13, 2017, 1:04am UTC](https://forum.ansible.com/t/kill-aws-ec2-instances-based-on-tag-without-success/25745/1 "2017-10-13T01:04:20Z")

</div>

Hi All,

I`m struggling to get this working without success… Here my playbook.

First a search my machines by tag and later try to terminate them.
