Skip to content

Commit

Permalink
saving plan result to apply in gha's yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
proquickly committed Nov 6, 2024
1 parent 3e76b41 commit b0a4144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terrform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
working-directory: terraform

- name: Terraform Plan
run: terraform plan
run: terraform plan -out=tfplan
working-directory: terraform


- name: Terraform Apply
run: terraform apply -auto-approve
run: terraform apply tfplan -auto-approve

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit b0a4144

Please sign in to comment.