Skip to content
Snippets Groups Projects
Commit 8592d440 authored by Graeme Gillies's avatar Graeme Gillies
Browse files

Add setting needed for terraform

parent 26159322
No related branches found
No related tags found
No related merge requests found
Pipeline #16920712 passed
Loading
Loading
@@ -85,6 +85,9 @@
gcloud config set project "${GCP_PROJECT}"
fi
fi
if command -v terraform > /dev/null 2>&1; then
export GOOGLE_OAUTH_ACCESS_TOKEN="$CLOUDSDK_AUTH_ACCESS_TOKEN"
fi
 
# https://docs.gitlab.com/ee/ci/cloud_services/google_cloud/#retrieve-a-temporary-credential
.oidc_base_gcp:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment