GithubHelp home page GithubHelp logo

clarkus978 / delete-aws-default-vpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidobrien1985/delete-aws-default-vpc

0.0 0.0 0.0 3 KB

Python code to delete the default VPC in every AWS region

License: MIT License

Python 86.15% PowerShell 13.85%

delete-aws-default-vpc's Introduction

Delete all default AWS VPCs in all regions

This python script will delete ALL default resources in every default VPC in every AWS region. This also applies to custom VPCs that have been created by users and then flagged as the new "default VPC".

I am not responsible for any data loss or damage!

Ideally this script gets run after an AWS account gets created.

Usage

For ease of use on Windows the execute.ps1 will take two parameters:

  • aws_profile
    • the name of your configured AWS CLI profile
  • aws_region
    • the name of the AWS region that initially you will authenticate to

Example: .\execute.ps1 -aws_profile sandpit -aws_region ap-southeast-2

Requirements

The following requirements exist:

  • configured AWS profile locally on host
  • docker for Windows
    • the python script will be executed from inside the container and call the AWS APIs from there

delete-aws-default-vpc's People

Contributors

davidobrien1985 avatar rdkls avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.