Skip to content

harisfauzi/cleanup-default-vpcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

README

Requirements:

  • awscli.
  • any authentication tools required to authenticate to your AWS account, e.g. saml2aws.

How to use:

To Delete per Account

  1. Prepare your AWS profile, use region endpoint instead of global endpoint, e.g. ap-southeast-2

    AWS_PROFILE=<profile>
    AWS_DEFAULT_REGION=us-east-2
    export AWS_PROFILE AWS_DEFAULT_REGION
  2. Run the script

    ./cleanup-default-vpc.sh

    OR if your resources are in a specific region, e.g. ap-southeast-2 and you want to exclude your that region from the script, run:

    ./cleanup-default-vpc.sh "ap-southeast-2"

About

A script to delete default VPCs from all AWS regions in your AWS account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages