From 2127b65691a0f9bfe18710c6ad775e436b55fc15 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Thu, 10 Oct 2024 15:11:54 -0700 Subject: [PATCH 1/3] Update data.tf --- data.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data.tf b/data.tf index ff319be..1cc97b7 100644 --- a/data.tf +++ b/data.tf @@ -1 +1,3 @@ data "github_organization_teams" "teams" {} + + From 004f19772d58110a20751df6bd3e59e62fbb76b1 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Thu, 10 Oct 2024 15:16:21 -0700 Subject: [PATCH 2/3] Update terraform_plan.yaml --- .github/workflows/terraform_plan.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/terraform_plan.yaml b/.github/workflows/terraform_plan.yaml index 39f4486..f12b97e 100644 --- a/.github/workflows/terraform_plan.yaml +++ b/.github/workflows/terraform_plan.yaml @@ -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 @@ -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 From 9daa93f8b9cdb35f2ca9adcb8063059892fffb10 Mon Sep 17 00:00:00 2001 From: David John Arnold Jr Date: Fri, 11 Oct 2024 10:08:46 -0700 Subject: [PATCH 3/3] Update data.tf Co-authored-by: Matthew Creal Morgan --- data.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/data.tf b/data.tf index 1cc97b7..ff319be 100644 --- a/data.tf +++ b/data.tf @@ -1,3 +1 @@ data "github_organization_teams" "teams" {} - -