Make terraform_standard_module_structure configurable #119
fatbasstard
started this conversation in
Ideas
Replies: 2 comments
-
We want to extend our structure with additional files like |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just to add my scenario here: We use prefix our files with an This is our reason for which we cannot use this rule at all. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
Hi, it would be nice if the
terraform_standard_module_structure
rule can be made configurable. It currently checks the entire module structure (https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.2.0/docs/rules/terraform_standard_module_structure.md#why).It's an "all or nothing" rule ATM
In our case we've split out the outputs in multiple output files (for reasons), but this makes it impossible to use this rule. But we do like to use the rules for the other files (e.g.
variables.tf
)Proposal
Add some options to tweak this rule, e.g. disable the check on outputs being defined in
outputs.tf
.Beta Was this translation helpful? Give feedback.
All reactions