add support for aws

pull/48/merge
Kelsey Hightower 2016-09-11 05:27:57 -07:00
parent 649eb76c84
commit 31725f4e5d
1 changed files with 12 additions and 12 deletions

View File

@ -150,18 +150,6 @@ aws ec2 delete-internet-gateway \
--internet-gateway-id ${INTERNET_GATEWAY_ID}
```
#### Route Tables
```
ROUTE_TABLE_ID=$(aws ec2 describe-route-tables \
--filters "Name=tag:Name,Values=kubernetes" | \
jq -r '.RouteTables[].RouteTableId')
```
```
aws ec2 delete-route-table --route-table-id ${ROUTE_TABLE_ID}
```
#### Subnets
```
@ -174,6 +162,18 @@ SUBNET_ID=$(aws ec2 describe-subnets \
aws ec2 delete-subnet --subnet-id ${SUBNET_ID}
```
#### Route Tables
```
ROUTE_TABLE_ID=$(aws ec2 describe-route-tables \
--filters "Name=tag:Name,Values=kubernetes" | \
jq -r '.RouteTables[].RouteTableId')
```
```
aws ec2 delete-route-table --route-table-id ${ROUTE_TABLE_ID}
```
#### VPC
```