aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-05-11 10:33:41 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-05-11 10:33:41 -0700
commita5b29a3961115dd60c467413dba4b1cef4597838 (patch)
tree6098d93114e54e35124f9086f30c8b63e4f43054
parentd1f40bd3b3ed51e720149d2e27347d60cb76335f (diff)
Update VM creation script to include BQ access
-rwxr-xr-xtools/gce/create_linux_worker.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gce/create_linux_worker.sh b/tools/gce/create_linux_worker.sh
index 322a592c07..b934f22a67 100755
--- a/tools/gce/create_linux_worker.sh
+++ b/tools/gce/create_linux_worker.sh
@@ -45,7 +45,8 @@ gcloud compute instances create $INSTANCE_NAME \
--machine-type n1-standard-16 \
--image=ubuntu-1510 \
--image-project=grpc-testing \
- --boot-disk-size 1000
+ --boot-disk-size 1000 \
+ --scopes https://www.googleapis.com/auth/bigquery
echo 'Created GCE instance, waiting 60 seconds for it to come online.'
sleep 60