Repository navigation
Add a .tflintigore or config option to ignore files #2615
supergibbs
started this conversation in
Ideas
Replies: 1 comment
|
While I still think this is a good idea to add, I've figured out a simple workaround for my example. Moving the main.tf into a shared/ folder allows tflint to run successfully. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Introduction
My terraform projects are generally setup like this:
The two main.tf file in dev/prod being symbolic links. This allows me to reuse a lot of the code relying on variables per environment. In main.tf I have:
This works great except when tflint can't find the
../../configfromapp/env/main.tfresulting in "module is not found;" error.Proposal
Support ignoring specific files/folders with
.tflintignorefile or add a section to the.tflint.hclconfig.References
Similar but different than:
#1304
#1641
All reactions