Skip to content

Commit

Permalink
ci: refactor terraform validation
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Nov 16, 2024
1 parent 5659388 commit 47ebd8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/terraform-validate-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ jobs:
# tflint -c ${GITHUB_WORKSPACE}/.tflint.hcl --var-file ${GITHUB_WORKSPACE}/.github/lint/tflint.tfvars ${{ inputs.tflint-options }}
- name: tflint
uses: reviewdog/[email protected]
env:
TFLINT_CONFIG: ${GITHUB_WORKSPACE}/.tflint.hcl
with:
tflint_init: true
github_token: ${{ secrets.github_token }}
tflint_config: ${GITHUB_WORKSPACE}/.tflint.hcl
tflint_config: ${{ github.workspace }}/.tflint.hcl

0 comments on commit 47ebd8a

Please sign in to comment.