@@ -78,10 +78,10 @@ jobs:
78
78
service_account : ${{ inputs.service_account }}
79
79
workload_identity_provider : ${{ inputs.workload_identity_provider }}
80
80
81
- # GitHub - Setup SSH for Module Access
81
+ # GitHub - Setup SSH for private module access
82
82
# Uncomment if you have private modules
83
83
84
- # - name: Step ssh for private module access
84
+ # - name: Private module access
85
85
# run: |
86
86
# ssh-agent -a $SSH_AUTH_SOCK
87
87
# mkdir -p ~/.ssh
@@ -98,12 +98,12 @@ jobs:
98
98
${{ inputs.working_directory }}/.terraform
99
99
${{ inputs.working_directory }}/.terraform.lock.hcl
100
100
${{ inputs.working_directory }}/plan.out.gpg
101
- key : cache -${{ github.run_id }}-${{ github.run_attempt }}
101
+ key : ${{ inputs.terraform_workspace }} -${{ github.run_id }}-${{ github.run_attempt }}
102
102
103
103
# HashiCorp - Setup Terraform
104
104
# https://github.com/marketplace/actions/hashicorp-setup-terraform
105
105
106
- - name : Setup Terraform
106
+ - name : Terraform setup
107
107
uses : hashicorp/setup-terraform@v2.0.3
108
108
with :
109
109
terraform_version : ${{ inputs.terraform_version }}
@@ -180,10 +180,10 @@ jobs:
180
180
service_account : ${{ inputs.service_account }}
181
181
workload_identity_provider : ${{ inputs.workload_identity_provider }}
182
182
183
- # GitHub - Setup SSH for Module Access
183
+ # GitHub - Setup SSH for private module access
184
184
# Uncomment if you have private modules
185
185
186
- # - name: Step ssh for private module access
186
+ # - name: Private module access
187
187
# run: |
188
188
# ssh-agent -a $SSH_AUTH_SOCK
189
189
# mkdir -p ~/.ssh
@@ -200,7 +200,7 @@ jobs:
200
200
${{ inputs.working_directory }}/.terraform
201
201
${{ inputs.working_directory }}/.terraform.lock.hcl
202
202
${{ inputs.working_directory }}/plan.out.gpg
203
- key : cache -${{ github.run_id }}-${{ github.run_attempt }}
203
+ key : ${{ inputs.terraform_workspace }} -${{ github.run_id }}-${{ github.run_attempt }}
204
204
205
205
# Decrypt - Terraform plan.out
206
206
@@ -210,7 +210,7 @@ jobs:
210
210
# HashiCorp - Setup Terraform
211
211
# https://github.com/marketplace/actions/hashicorp-setup-terraform
212
212
213
- - name : Setup Terraform
213
+ - name : Terraform setup
214
214
uses : hashicorp/setup-terraform@v2.0.3
215
215
with :
216
216
terraform_version : ${{ inputs.terraform_version }}
0 commit comments