Fix grep now that `gcloud compute instance-groups list` has more than one result

This commit is contained in:
Deirdre Connolly 2021-03-05 23:42:55 -05:00 committed by Deirdre Connolly
parent db52d63b86
commit 8f9e993fab
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ jobs:
id: does-group-exist
continue-on-error: true
run: |
gcloud compute instance-groups list | grep "zebrad-$BRANCH_NAME"\ \ "$REGION"
gcloud compute instance-groups list | grep "zebrad-$BRANCH_NAME" | grep "$REGION"
# Deploy new managed instance group using the new instance template
- name: Create managed instance group