Skip to content

Commit

Permalink
fix: add terraform login
Browse files Browse the repository at this point in the history
  • Loading branch information
woowahan-neo committed Jan 9, 2025
1 parent 9ff12ca commit 8487f4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ jobs:
with:
terraform_version: 1.10.3

- name: Terraform Init and Apply
- name: Terraform Login
env:
TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}
run: terraform login

- name: Terraform Init and Apply
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
working-directory: terraform/environments/${{ github.event.inputs.environment }}
Expand Down

0 comments on commit 8487f4b

Please sign in to comment.