Skip to content

Commit

Permalink
Update terraform_plan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Oct 10, 2024
1 parent 2127b65 commit 004f197
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ jobs:
persist-credentials: false

- name: git show
run: git show
run: echo "commit_sha=$(git show | grep commit | head -1 | awk '{ print $NF }')" >> $GITHUB_ENV

- name: Checkout Status
run: echo "Checked out ${{ github.repository }} @ ${{ github.head_ref }}"

- name: AWS Auth
id: aws_auth
uses: CSVD/aws-auth@main
Expand All @@ -56,7 +53,8 @@ jobs:
uses: CSVD/terraform-init@main
id: terraform_init
with:
commit_sha: ${{ steps.checkout.outputs.commit }}
commit_sha: ${{ env.commit_sha }}
checkout: false
terraform_version: "1.9.1"
workspace: ${{ vars.terraform_workspace }}
setup_terraform: true
Expand Down

0 comments on commit 004f197

Please sign in to comment.