diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 18936b8eb5..b71eae6143 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -1006,6 +1006,12 @@ jobs: path: go.mod key: performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }} + - name: Set Commit Date to Terraform Variable + id: set_commit_date + run: | + echo "commit_date=$(git show -s --format=%ci ${{ github.sha }})" >> $GITHUB_OUTPUT + + - name: Verify Terraform version if: steps.performance-tracking.outputs.cache-hit != 'true' run: terraform --version @@ -1023,6 +1029,7 @@ jobs: if terraform apply --auto-approve \ -var="ssh_key_value=${PRIVATE_KEY}" \ -var="cwa_github_sha=${GITHUB_SHA}" \ + -var="cwa_github_sha_date=${{steps.set_commit_date.outputs.commit_date}}" \ -var="ami=${{ matrix.arrays.ami }}" \ -var="arc=${{ matrix.arrays.arc }}" \ -var="s3_bucket=${S3_INTEGRATION_BUCKET}" \