Sha256: d000e018782f3f2bde9b2488e0ed1a399d3f5175d9aa2e2deef490bb58dc9fa7
Contents?: true
Size: 540 Bytes
Versions: 56
Compression:
Stored size: 540 Bytes
Contents
#!/bin/bash set -eu mkdir -p ~/.gcp aws secretsmanager get-secret-value --secret-id terraspace/gcloud-credentials | jq '.SecretString | fromjson' > ~/.gcp/credentials.json # ~/.gcp/credentials.json export GOOGLE_APPLICATION_CREDENTIALS=~/.gcp/credentials.json export GOOGLE_PROJECT=$(cat $GOOGLE_APPLICATION_CREDENTIALS | jq -r '.project_id') gcloud auth activate-service-account --key-file $GOOGLE_APPLICATION_CREDENTIALS gcloud config set project $GOOGLE_PROJECT gcloud compute zones list --filter=region:us-central1 gcloud --version
Version data entries
56 entries across 56 versions & 1 rubygems