Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 3.08 KB

README.md

File metadata and controls

45 lines (31 loc) · 3.08 KB

tflint-config

gdn


Keeps TFLint Config file up-to-date

TFLint Configuration

  • TFLint
  • .tflint-all.hcl
    • uses version and source for plugins.
    • uses preset=all for Terraform.
  • .tflint.hcl
    • remove version and source for plugins, and uses latest versions.
    • uses preset=recommended for Terraform.

Plugins

  • AWS Plugin - TFLint ruleset for terraform-provider-aws
  • Terraform Plugin - TFLint ruleset for Terraform Language
  • OPA Plugin - Experimental: TFLint ruleset plugin for writing custom rules in Rego.

Plugins Configuration

Terraform plugin

The Terraform rules can be found on GitHub. Most of the rules are part of the recommended preset through the Terraform plugin. Optionally, you can enable the following rules when required:

Contribution

Contribution is welcome. Please use conventional commit messages for your commits and pull request titles. Through GitHub Actions the CHANGELOG gets updated, tag created and release published with the TFLint configuration files as assets.