This is a template repository with custom ruleset. See also Writing Plugins for more information.
- TFLint v0.30+
- Go v1.17
You can install the plugin with tflint --init
. Declare a config in .tflint.hcl
as follows:
plugin "dodo" {
enabled = true
version = "0.1.0"
source = "github.com/dodopizza/tflint-ruleset-dodo"
}
All rules enabled by default and have ERROR
severity.
Name | Description |
---|---|
dodo_comments | Check that all comments written in consistent way. |
dodo_file_content | Check that all files looks similarly, mostly focused on vertical alignment |
dodo_terraform_backend_type | Check that modules specify azurerm as backend type |
dodo_foreach_count | If resource have for_each or count expression check that they go as first argument and delimited by newline after it |