-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Need terraform_tflint option to not find more paths to run in. #300
Comments
#125 changed the functionality, causing the breakage. No mention of this change in the PR, only a minor version tick. |
You can achieve this by adjusting |
@yermulnik Is there a way to do this in my |
NM, I firgured it out. I can just add an |
Great to hear you've managed this 👍🏻 |
I need a way for terraform_tflint to not descend into subdirectories. I only want it to check the current directory.
Use case
I am using this with terraform module repositories. The module has a
test/
directory that has a test invocation of the module that people can use to verify that their changes will plan out fine. This causes an error when running the pre-commit check.I ran a
terraform init
in both direcotories, but I think since tflint is being run from./
it doesn't see that the module is loaded in./test
.How could pre-commit-terraform help solve your problem?
Add an option to disable searching for paths to run the tflint check in. Just run it in
./
The text was updated successfully, but these errors were encountered: