Skip to content

Config file exists in project root directory but seems ignored #1706

Answered by bendrucker
mloskot asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md#configuring-tflint

However, if --chdir or --recursive is used, The config file in the changed directory will be loaded.

I've updated this to clarify that this still applies to a config explicitly provided via a flag:

2d73106

You can argue this behavior is confusing/awkward, but given the reverse it would be impossible to customize the name of the config file stored in each module.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mloskot
Comment options

Answer selected by bendrucker
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
Converted from issue

This discussion was converted from issue #1705 on February 27, 2023 22:10.