Replies: 3 comments 1 reply
-
You've left out why this is valuable, which is mentioned in the TF thread: hashicorp/terraform#28191 (comment)
That said, I'm not convinced it's TFLint's responsibility to take in files and then implicitly step up to their directories and then get the unique set of directories. Especially as we're actively moving away from args and towards conformance with Terraform's module-oriented commands. |
Beta Was this translation helpful? Give feedback.
-
Hm, would it still make sense to allow multiple directories to be passed, instead of a single one? That could save spinning up n |
Beta Was this translation helpful? Give feedback.
-
Module scope includes the current directory. For example, evaluation of
A solution to this issue is |
Beta Was this translation helpful? Give feedback.
-
Introduction
tflint
should allow specifying multiple files from different directories to be linted.This was already proposed once, but ultimately decided against, as
terraform
back then also didn't support formatting multiple files: #527 (comment)In the meantime,
terraform fmt
gained support for formatting multiple files, from multiple directories: hashicorp/terraform#28191Proposal
tflint
should allow receiving multiple files to be formatted. It could probably still internally bucket them together.References
Beta Was this translation helpful? Give feedback.
All reactions