Skip to content

Commit 61ca5fc

Browse files
committed
Update terraform format action
1 parent b5f408b commit 61ca5fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/format.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ jobs:
3232
- name: Format
3333
run: npm run format
3434
- name: Setup Terraform
35-
uses: hashicorp/setup-terraform@v2
35+
uses: hashicorp/setup-terraform@v3
36+
with:
37+
terraform_version: ${{ vars.TERRAFORM_VERSION }}
3638
- name: Format terraform
3739
working-directory: terraform
38-
run: terraform fmt -write -recursive
40+
run: terraform fmt -write -recursive terraform
3941
- name: Commit
4042
uses: stefanzweifel/git-auto-commit-action@v4
4143
if: always()

0 commit comments

Comments
 (0)