update cleanup guide

pull/49/head
Kelsey Hightower 2016-09-11 07:06:48 -07:00
parent 16cd466518
commit 9e05ffafad
1 changed files with 13 additions and 13 deletions

View File

@ -120,19 +120,6 @@ aws elb delete-load-balancer \
--load-balancer-name kubernetes
```
#### Security Groups
```
SECURITY_GROUP_ID=$(aws ec2 describe-security-groups \
--filters "Name=tag:Name,Values=kubernetes" | \
jq -r '.SecurityGroups[].GroupId')
```
```
aws ec2 delete-security-group \
--group-id ${SECURITY_GROUP_ID}
```
#### Internet Gateways
```
@ -158,6 +145,19 @@ aws ec2 delete-internet-gateway \
--internet-gateway-id ${INTERNET_GATEWAY_ID}
```
#### Security Groups
```
SECURITY_GROUP_ID=$(aws ec2 describe-security-groups \
--filters "Name=tag:Name,Values=kubernetes" | \
jq -r '.SecurityGroups[].GroupId')
```
```
aws ec2 delete-security-group \
--group-id ${SECURITY_GROUP_ID}
```
#### Subnets
```