Delete Default VPCs in AWS using bash
Default VPCs, with their default NACLs – all need to be removed.
To delete default VPCs in a region, one needs to first delete any IgWs, any NAT gateways etc. within that VPC. Ensure that no resource is using those default resources – and then, you are on your way.
github
Here is a bash script that will delete the default VPC from all regions.
Leave a Reply