Skip to content

Enforce naming convention in the modules #2083

Answered by bendrucker
marianoc84 asked this question in Q&A
Discussion options

You must be logged in to vote

Use an absolute path if you don't want TFLint to try to load configuration relative to each directory:

https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md#configuring-tflint

By default, .tflint.hcl is loaded relative to the module under test. But if you pass an absolute path to the file at your repo root, it'll always load the same config.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marianoc84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants