Update onix-gcp-terraform-deploy.yml sa key
This commit is contained in:
@@ -30,10 +30,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
terraform_version: 1.5.0
|
terraform_version: 1.5.0
|
||||||
|
|
||||||
- name: Authenticate to Google Cloud
|
- name: Write GCP credentials to file
|
||||||
run: echo "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}" > gcp-key.json
|
run: echo '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}' > gcp-key.json
|
||||||
|
|
||||||
- name: Export GCP Credentials to Terraform
|
- name: Export GCP credentials environment variable
|
||||||
run: echo "GOOGLE_APPLICATION_CREDENTIALS=$GITHUB_WORKSPACE/gcp-key.json" >> $GITHUB_ENV
|
run: echo "GOOGLE_APPLICATION_CREDENTIALS=$GITHUB_WORKSPACE/gcp-key.json" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create backend.tf and Terraform Init
|
- name: Create backend.tf and Terraform Init
|
||||||
|
|||||||
Reference in New Issue
Block a user