Specify region not just zone

This commit is contained in:
Deirdre Connolly 2020-11-19 16:44:12 -05:00 committed by Deirdre Connolly
parent a317cc11c6
commit e325775bf3
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ on:
env: env:
PROJECT_ID: zealous-zebra PROJECT_ID: zealous-zebra
REGION: us-east1
ZONE: us-east1-b ZONE: us-east1-b
@ -116,7 +117,7 @@ jobs:
--template "zebrad-$BRANCH_NAME-$SHORT_SHA" \ --template "zebrad-$BRANCH_NAME-$SHORT_SHA" \
--health-check zebrad-tracing-filter \ --health-check zebrad-tracing-filter \
--initial-delay 30 \ --initial-delay 30 \
--region "$ZONE" \ --region "$REGION" \
--size 2 --size 2
# Rolls out update to existing group using the new instance template # Rolls out update to existing group using the new instance template
@ -126,4 +127,4 @@ jobs:
gcloud compute instance-groups managed rolling-action start-update \ gcloud compute instance-groups managed rolling-action start-update \
"zebrad-$BRANCH_NAME" \ "zebrad-$BRANCH_NAME" \
--version template="zebrad-$BRANCH_NAME-$SHORT_SHA" \ --version template="zebrad-$BRANCH_NAME-$SHORT_SHA" \
--region "$ZONE" --region "$REGION"