Skip to content

Commit

Permalink
Create instances in the specified AZ
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Apr 3, 2015
1 parent a94ffc8 commit 2fb573c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/aws/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ function kube-up {
SUBNET_ID=$($AWS_CMD describe-subnets | get_subnet_id $VPC_ID)
if [[ -z "$SUBNET_ID" ]]; then
echo "Creating subnet."
SUBNET_ID=$($AWS_CMD create-subnet --cidr-block 172.20.0.0/24 --vpc-id $VPC_ID | json_val '["Subnet"]["SubnetId"]')
SUBNET_ID=$($AWS_CMD create-subnet --cidr-block 172.20.0.0/24 --vpc-id $VPC_ID --availability-zone ${ZONE} | json_val '["Subnet"]["SubnetId"]')
fi

echo "Using subnet $SUBNET_ID"
Expand Down

0 comments on commit 2fb573c

Please sign in to comment.