Skip to content

Question about the caveats for calling modules #2122

Answered by wata727
ricardo-kh asked this question in Q&A
Discussion options

You must be logged in to vote

why is it important that the expression needs to contain a variable that was passed to the module?

This is because the feature was designed to find issues caused by module arguments. If an issue is reported that is not related to variables (module arguments), you will have to fix modules that are not under your control in order to fix all the issues.
Also, if you are inspecting a local module as the root module using --recursive, the same issues will be reported multiple times.

why should a rule do that? Is it because the syntax should be checked in the source repository of the module itself? And not from the configuration that uses the module, because it is not affected by (and has no…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ricardo-kh
Comment options

Answer selected by ricardo-kh
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