-
-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tflint - No such file or directory #80
Comments
(Copy of the comment I have put in other issue). To make it work you need two things:
I have no clue how this is working for anyone: https://github.com/antonbabenko/pre-commit-terraform#notes-about-terraform_tflint-hooks
Maybe I'm missing something important. Per the code in the the script and according to the way how pre-commit passes arguments to the scripts (https://pre-commit.com/#passing-arguments-to-hooks), the only solution which I see is this:
|
When passing config:
Getting another issue:
|
Hello, for my typical terraform + terragrunt repo with following .tflint.hcl configuration:
And following hook configuration:
Getting following errors:
The text was updated successfully, but these errors were encountered: