Python script to remove all default VPCs from all regions in AWS.
$ pip install botocore boto3
Ensure AWS credentials are ready (e.g. ~/.aws/credential). See Boto configuring credentials
Quickest way is to use aws configure
(need AWS CLI installed)
$ python remove_default_vpcs.py
--no-verify-ssl
Disable SSL verification. Could be useful if you are behind proxy.
--profile=<profile>
If you have multiple credential profiles configured. Boto will use [default]
profile by default.