Skip to content

Commit

Permalink
Fix variable name in terraform workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Dec 1, 2023
1 parent 7f7cff1 commit 11ac063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
service_account: cicd-dev@wetterdienst.iam.gserviceaccount.com

- name: Export Github PAT
run: echo "TF_VAR_gh_pat=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
run: echo "TF_VAR_gh_pat=${{ github.token }}" >> $GITHUB_ENV

- name: Terraform init
working-directory: ./terraform
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Terraform plan
working-directory: ./terraform
env:
TV_VAR_gh_pat: ${{ env.TV_VAR_gh_pat }}
TF_VAR_gh_pat: ${{ env.TF_VAR_gh_pat }}
run: terraform plan

- name: Terraform apply
Expand Down

0 comments on commit 11ac063

Please sign in to comment.