File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 46
46
exit $raised
47
47
48
48
- name : " Set default Terraform Tags"
49
+ id : set-tags
49
50
run : |
50
51
echo "${{ github.repository }}" | cut -d "/" -f 2 > repo.txt
51
52
echo "TF_VAR_organization_tag=${{ github.repository_owner }}" >> "$GITHUB_OUTPUT"
66
67
AWS_REGION : ${{ inputs.region }}
67
68
INPUT_PRE_EXEC_0 : |
68
69
sudo apt update -yqq && sudo apt install python3 -yqq
69
- TF_VAR_organization_tag : ${{ vars .TF_VAR_organization_tag }}
70
- TF_VAR_repository_tag : ${{ vars .TF_VAR_repository_tag }}
71
- TF_VAR_commit_hash_tag : ${{ vars .TF_VAR_commit_hash_tag }}
70
+ TF_VAR_organization_tag : ${{ steps.set-tags.outputs .TF_VAR_organization_tag }}
71
+ TF_VAR_repository_tag : ${{ steps.set-tags.outputs .TF_VAR_repository_tag }}
72
+ TF_VAR_commit_hash_tag : ${{ steps.set-tags.outputs .TF_VAR_commit_hash_tag }}
72
73
with :
73
74
tf_version : ${{ inputs.tf_version }}
74
75
tg_version : ${{ inputs.tg_version }}
82
83
TERRAFORM_PLAN : ${{ steps.plan.outputs.TERRAFORM_PLAN }}
83
84
INPUT_PRE_EXEC_0 : |
84
85
sudo apt update -yqq && sudo apt install python3 -yqq
85
- TF_VAR_organization_tag : ${{ vars .TF_VAR_organization_tag }}
86
- TF_VAR_repository_tag : ${{ vars .TF_VAR_repository_tag }}
87
- TF_VAR_commit_hash_tag : ${{ vars .TF_VAR_commit_hash_tag }}
86
+ TF_VAR_organization_tag : ${{ steps.set-tags.outputs .TF_VAR_organization_tag }}
87
+ TF_VAR_repository_tag : ${{ steps.set-tags.outputs .TF_VAR_repository_tag }}
88
+ TF_VAR_commit_hash_tag : ${{ steps.set-tags.outputs .TF_VAR_commit_hash_tag }}
88
89
with :
89
90
tf_version : ${{ inputs.tf_version }}
90
91
tg_version : ${{ inputs.tg_version }}
You can’t perform that action at this time.
0 commit comments