Skip to content

Commit

Permalink
Merge pull request fastai#58 from emiliogozo/master
Browse files Browse the repository at this point in the history
fix: Wrong variable in create-tags command for subnet
  • Loading branch information
racheltho authored Mar 23, 2017
2 parents 1ea81c2 + f81ec78 commit f71dbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/setup_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ aws ec2 create-tags --resources $internetGatewayId --tags --tags Key=Name,Value=
aws ec2 attach-internet-gateway --internet-gateway-id $internetGatewayId --vpc-id $vpcId

export subnetId=$(aws ec2 create-subnet --vpc-id $vpcId --cidr-block 10.0.0.0/28 --query 'Subnet.SubnetId' --output text)
aws ec2 create-tags --resources $internetGatewayId --tags --tags Key=Name,Value=$name-subnet
aws ec2 create-tags --resources $subnetId --tags --tags Key=Name,Value=$name-subnet

export routeTableId=$(aws ec2 create-route-table --vpc-id $vpcId --query 'RouteTable.RouteTableId' --output text)
aws ec2 create-tags --resources $routeTableId --tags --tags Key=Name,Value=$name-route-table
Expand Down

0 comments on commit f71dbeb

Please sign in to comment.