Skip to content

Commit

Permalink
set GCP project
Browse files Browse the repository at this point in the history
  • Loading branch information
warroyo committed May 22, 2019
1 parent f9c046d commit ca35505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/master-instances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ run:
#due to p-automator not allowing foir setting a public key on gcp we need to gcloud ssh.
echo ${GCP_ACCOUNT} > gcp_account.key.json
export CLOUDSDK_CORE_PROJECT="$(./jq -r .project terraform-output/metadata)"
gcloud auth activate-service-account --key-file ./gcp_account.key.json
GCP_ZONE=$(./jq -r .azs[0] terraform-output/metadata)
echo "getting master instances"
Expand Down

0 comments on commit ca35505

Please sign in to comment.