Created
July 9, 2021 19:49
-
-
Save nleiva/6b503bc979d6411108ea8d196c91fe1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Delete EC2 instance | |
community.aws.ec2_instance: | |
region: "{{ ec2_region }}" | |
state: absent | |
filters: | |
instance-state-name: running | |
"tag:Name": "{{ ec2_name_tag }}" | |
"tag:Environment": "{{ ec2_environment }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment