tflint
tflint copied to clipboard
Is there a way to use all existing rules
Hi, I am total newbie of tflint. trying out its features. Looking into https://github.com/terraform-linters/tflint/tree/master/docs/rules, so these rules are already built-in in the tflint binary. However, 3 is enabled by default. is there a shortcut that I use says to tflint, use all those (14 i believe) during execution.
Dont want to individually add each rule in the config file and enable them!
rule "terraform_naming_convention" { enabled = true }
rule "terraform_documented_variables" { enabled = true }
.....
Since these rules will be cut out into plugins in the future, enabling/disabling each plugin may solve this problem.
Any news on this one? Any timeframe when the default rules will be packed in plugins?
So, is there an official answer to this question?
Awesome, enabling all terraform plugin rules is now possible by upgrading to TFLint v0.40.0 and adding the following to your TFLint configuration:
plugin "terraform" {
enabled = true
}
Note that preset = "recommended", which is now the default when you don't have an explicit "terraform" plugin configuration, already has more rules enabled than < v0.40.0.
Thank you, @wata727!