Skip to content

Instantly share code, notes, and snippets.

@nleiva
Last active August 23, 2021 20:14
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/5886ea48abbb45f94b9b300f13533d8a to your computer and use it in GitHub Desktop.
Save nleiva/5886ea48abbb45f94b9b300f13533d8a to your computer and use it in GitHub Desktop.
- name: Delete Subnet
amazon.aws.ec2_vpc_subnet:
region: "{{ ec2_region }}"
vpc_id: "{{ all_vpcs.vpcs[0].vpc_id }}"
cidr: "{{ ec2_subnet }}"
state: absent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment