Skip to content

Commit

Permalink
Delete an Existing VPC:
Browse files Browse the repository at this point in the history
Delete an existing VPC by setting the state to "absent" and specify the vpc_id.
  • Loading branch information
Aditya Putta authored Oct 12, 2023
1 parent d7fae9d commit 85a139c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/modules/ec2_vpc_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@
ipv6_cidr: True
region: us-east-1
tenancy: dedicated
- name: Delete an existing VPC
amazon.aws.ec2_vpc_net:
vpc_id: vpc-01234-abcdef
state: absent
"""

RETURN = r"""
Expand Down

0 comments on commit 85a139c

Please sign in to comment.