Skip to content

Commit

Permalink
upadted google credentials name
Browse files Browse the repository at this point in the history
  • Loading branch information
sr33hari committed Jul 11, 2024
1 parent a5a2ace commit 62e780a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Terraform Init
run: terraform init
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
TF_VAR_MONGO_URI: ${{ secrets.MONGO_URI }}
TF_VAR_GOOGLE_TYPE: ${{ secrets.GOOGLE_TYPE }}
TF_VAR_GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Terraform Format
run: terraform fmt -check
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
TF_VAR_MONGO_URI: ${{ secrets.MONGO_URI }}
TF_VAR_GOOGLE_TYPE: ${{ secrets.GOOGLE_TYPE }}
TF_VAR_GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Terraform Plan
run: terraform plan -input=false
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
TF_VAR_MONGO_URI: ${{ secrets.MONGO_URI }}
TF_VAR_GOOGLE_TYPE: ${{ secrets.GOOGLE_TYPE }}
TF_VAR_GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Terraform Apply
run: terraform apply -auto-approve -input=false
env:
GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
TF_VAR_MONGO_URI: ${{ secrets.MONGO_URI }}
TF_VAR_GOOGLE_TYPE: ${{ secrets.GOOGLE_TYPE }}
TF_VAR_GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
Expand Down

0 comments on commit 62e780a

Please sign in to comment.