Scripts for managing VPCs and their networking components.
Creates a VPC with a public subnet, internet gateway, and route table.
python services/vpc/create_vpc.py --cidr 10.0.0.0/16
python services/vpc/create_vpc.py --cidr 172.16.0.0/16 --region us-west-2Expected output:
[INFO] Created VPC: vpc-0123456789abcdef0
[INFO] Created subnet: subnet-0123456789abcdef0
[INFO] Created and attached IGW: igw-0123456789abcdef0
[INFO] Created route table: rtb-0123456789abcdef0
python services/vpc/list_vpcs.pyDeletes a VPC and all its dependencies (subnets, IGWs, route tables).
python services/vpc/delete_vpc.py --vpc-id vpc-0123456789abcdef0
python services/vpc/delete_vpc.py --vpc-id vpc-0123456789abcdef0 --dry-run