Create GOOGLE_CREDENTIALS
- Create a service account within the GCP project (terraform-svc).
- Create a new JSON key for the service account and save the file.
- Run the following command on the JSON file to format it correctly for TFC.
cat key.json | tr -s '\n' ' '
- Copy the output of step 3 into the GOOGLE_CREDENTIALS variable in the TFC workspace.
- Make sure to mark the variable as sensitive!