Skip to content
Commit a4bbccde authored by Tiago Giertyas Matana's avatar Tiago Giertyas Matana
Browse files

fix: authenticate Terraform with GOOGLE_APPLICATION_CREDENTIALS



Write GCP_SERVICE_ACCOUNT_KEY to /tmp/gcp-key.json and export
GOOGLE_APPLICATION_CREDENTIALS so the Google provider authenticates
automatically without requiring gcloud auth application-default login.

Also export TF_VAR_project_id from GCP_PROJECT_ID so the variable
is passed to Terraform without needing -var flags in the script.

Co-Authored-By: default avatarClaude Sonnet 4.6 <noreply@anthropic.com>
parent a3e49320
Pipeline #226714 waiting for manual action with stages
in 17 minutes and 45 seconds