File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1006,6 +1006,12 @@ jobs:
1006
1006
path : go.mod
1007
1007
key : performance-tracking-test-${{ github.sha }}-${{ matrix.arrays.os }}-${{ matrix.arrays.arc }}-${{ matrix.arrays.test_dir }}
1008
1008
1009
+ - name : Set Commit Date to Terraform Variable
1010
+ id : set_commit_date
1011
+ run : |
1012
+ echo "commit_date=$(git show -s --format=%ci ${{ github.sha }})" >> $GITHUB_OUTPUT
1013
+
1014
+
1009
1015
- name : Verify Terraform version
1010
1016
if : steps.performance-tracking.outputs.cache-hit != 'true'
1011
1017
run : terraform --version
@@ -1023,6 +1029,7 @@ jobs:
1023
1029
if terraform apply --auto-approve \
1024
1030
-var="ssh_key_value=${PRIVATE_KEY}" \
1025
1031
-var="cwa_github_sha=${GITHUB_SHA}" \
1032
+ -var="cwa_github_sha_date=${{steps.set_commit_date.outputs.commit_date}}" \
1026
1033
-var="ami=${{ matrix.arrays.ami }}" \
1027
1034
-var="arc=${{ matrix.arrays.arc }}" \
1028
1035
-var="s3_bucket=${S3_INTEGRATION_BUCKET}" \
You can’t perform that action at this time.
0 commit comments