@@ -179,13 +179,13 @@ on:
179
179
type : number
180
180
181
181
terraform-version :
182
- default : " 1.9.0 "
182
+ default : " 1.11.2 "
183
183
description : " The version of terraform to use"
184
184
required : false
185
185
type : string
186
186
187
187
trivy-version :
188
- default : " v0.56.2 "
188
+ default : " v0.60.0 "
189
189
description : " The version of trivy to use"
190
190
required : false
191
191
type : string
@@ -452,7 +452,13 @@ jobs:
452
452
git config --global url."https://x-access-token:${{steps.get_workflow_token.outputs.token}}@github.com/".insteadOf "https://github.com/"
453
453
- name : Terraform Init
454
454
id : init
455
- run : terraform -chdir=${{ inputs.terraform-dir }} init -backend-config="bucket=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tfstate" -backend-config="key=${{ steps.state-key.outputs.name }}" -backend-config="encrypt=true" -backend-config="dynamodb_table=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tflock" -backend-config="region=${{ inputs.aws-region }}"
455
+ run : |
456
+ terraform -chdir=${{ inputs.terraform-dir }} init \
457
+ -backend-config="bucket=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tfstate" \
458
+ -backend-config="key=${{ steps.state-key.outputs.name }}" \
459
+ -backend-config="encrypt=true" \
460
+ -backend-config="use_lockfile=true" \
461
+ -backend-config="region=${{ inputs.aws-region }}"
456
462
- name : Terraform Validate
457
463
id : validate
458
464
run : terraform -chdir=${{ inputs.terraform-dir }} validate -no-color
@@ -805,7 +811,13 @@ jobs:
805
811
git config --global url."https://x-access-token:${{steps.get_workflow_token.outputs.token}}@github.com/".insteadOf "https://github.com/"
806
812
- name : Terraform Init
807
813
id : init
808
- run : terraform -chdir=${{ inputs.terraform-dir }} init -backend-config="bucket=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tfstate" -backend-config="key=${{ steps.state-key.outputs.name }}" -backend-config="encrypt=true" -backend-config="dynamodb_table=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tflock" -backend-config="region=${{ inputs.aws-region }}"
814
+ run : |
815
+ terraform -chdir=${{ inputs.terraform-dir }} init \
816
+ -backend-config="bucket=${{ inputs.aws-account-id }}-${{ inputs.aws-region }}-tfstate" \
817
+ -backend-config="key=${{ steps.state-key.outputs.name }}" \
818
+ -backend-config="encrypt=true" \
819
+ -backend-config="use_lockfile=true" \
820
+ -backend-config="region=${{ inputs.aws-region }}"
809
821
- name : Download tfplan
810
822
uses : actions/download-artifact@v4
811
823
with :
0 commit comments