Closed moritzzimmer closed 1 year ago
We plan to add --chdir
and --recursive
flags in TFLint v0.44.
https://github.com/terraform-linters/tflint/pull/1612
https://github.com/terraform-linters/tflint/pull/1622
When using these, the output path will be a relative path from the original working directory.
Thanks for the quick reply @wata727 , looking forward to v0.44
v0.44 has been released. https://github.com/terraform-linters/tflint/releases/tag/v0.44.0
We are using tflint for linting a repository with multiple independent (in terms of state) stacks. Our GitHub action loops over all of those stacks (using
--force
) to gather all findings.It seems like anntotations are not using the full path of the affected terraform file, so those are not visible in the GitHub UI:
The
main.tf
file is actuallyglobal/cdn/content/main.tf
in this example. Would it be possible to configure the problem matcher to support a monorepo structure?Might be related to https://github.com/terraform-linters/setup-tflint/issues/19