Skip to content

Commit 2b8125a

Browse files
committed
fix ci
1 parent 7401f07 commit 2b8125a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/terraform-example.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
uses: terraform-linters/setup-tflint@v4
2424
- name: TFLint (core rules only)
2525
run: |
26-
tflint --init || true
27-
tflint -c terraform-example/.tflint.hcl terraform-example
26+
# TFLint >= 0.47 removed positional directory args; use --chdir
27+
tflint --chdir terraform-example --init || true
28+
tflint --chdir terraform-example -c .tflint.hcl

0 commit comments

Comments
 (0)