Skip to content

tflint --recursive --call-module-type=all cannot find nested local modules #2082

Answered by mdowling17
mdowling17 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, as I described above, if I set use tflint --recursive --call-module-type=local it works as expected. The limitation is that it doesn't lint remote modules, which I actually didn't need for my use-case. However, if you want to lint everything, you must go into each module directory and run terraform init and then you can run tflint --recursive --call-module-type=all from the root.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@mdowling17
Comment options

@wata727
Comment options

Comment options

You must be logged in to vote
2 replies
@mdowling17
Comment options

Answer selected by mdowling17
@h2oearth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2081 on July 03, 2024 00:06.