Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Default deploy-devops script to 'westus'
Browse files Browse the repository at this point in the history
This location is more likely to have VM sizes, etc.
  • Loading branch information
ejizba committed Jun 13, 2017
1 parent 45a91b2 commit d1d8606
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deploy-dev-ops/deploy-dev-ops.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,13 @@ function validate_or_create_resource_group() {

local min=0
local max=$((count-1))
local default=${locations[0]}

local default="westus"
if [[ " ${locations[*]} " != *" $default "* ]]; then
# Use the first location if westus isn't available
local default=${locations[0]}
fi

while [ -z "$location" ]; do
read -rp "===> Enter an integer between $min and $max (leave blank to use '$default'): "
if [ -z "$REPLY" ]; then
Expand Down

0 comments on commit d1d8606

Please sign in to comment.