v1.52.0 : terraform_tflint
provide confusing output like ERROR in ././:
#240
Labels
area/local_installation
bug_with_workaround
Something isn't working but there is a workaround
estimate/4h
Need 4 hours to be done
hook/terraform_tflint
Bash hook
Milestone
Describe the bug
tflint
has checks liketerraform_unused_declarations
that can only reasonably be checked across multiple files and terraform_tflint does not find them because it only checks single files.How can we reproduce it?
Create a directory with two files: variables.tf and main.tf and add to variables.tf:
Also add a tflint.hcl:
pre-commit run --all-files
will not find a problem. I wrote an own hook that does:gives:
terraform_tflint
should give the same warning?Environment information
.pre-commit-config.yaml
:The text was updated successfully, but these errors were encountered: