Skip to content

Instantly share code, notes, and snippets.

@nleiva
Last active August 23, 2021 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nleiva/4e5bd9bb1898588ad047fc8ca65e217c to your computer and use it in GitHub Desktop.
Save nleiva/4e5bd9bb1898588ad047fc8ca65e217c to your computer and use it in GitHub Desktop.
- name: Delete Route Table
community.aws.ec2_vpc_route_table:
region: "{{ ec2_region }}"
vpc_id: "{{ all_vpcs.vpcs[0].vpc_id }}"
tags:
Environment: "{{ ec2_environment }}"
Name: "{{ ec2_resource_prefix }}-route-table"
state: absent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment