TFLint
github.com
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What TFLint is
TFLint is a free, pluggable command-line linter for Terraform configurations. Its bundled language rules can warn about deprecated syntax and unused declarations, while cloud-specific checks can identify possible errors such as invalid instance types for AWS, Azure, and GCP. It can also enforce best practices and naming conventions. Users can add plugins, build their own, or write policies in Rego. A --fix option can automatically correct issues, and reports can use default, JSON, Checkstyle, JUnit, compact, or SARIF formats. The project provides a GitHub Action and Docker image, and supports installation through Homebrew, WinGet, or Go. TFLint runs locally and is available for Linux, macOS, and Windows. Most project files use MPL 2.0, some files in the terraform package use BUSL 1.1, and release binaries are bound by both licenses. The project recommends verifying release checksums with GitHub CLI artifact attestations and says Cosign signatures are deprecated. Its README directs users to separate user and developer guides for usage and development information.
Who it suits
TFLint suits Terraform users who want local checks for language rules, cloud-specific issues, naming, and best practices. Teams can extend its checks with plugins or write policies in Rego.
Good to know, and what to watch
- Flags deprecated syntax and unused declarations.
- Checks possible issues across AWS, Azure, and GCP.
- Supports plugin extensions and Rego policies.
- Offers six output format options.
- Runs locally on Linux, macOS, and Windows.
- Most files use MPL 2.0, with some BUSL 1.1 files.
- Release binaries are bound by both licenses.
- Cosign signatures are marked deprecated.
Plans
Every plan and priceTFLint
Free plan
The verdict
TFLint provides configurable local checks for Terraform, with plugins, policy options, and multiple report formats. Review the project’s license details and release-verification guidance before adopting it.
What the maker publishes
- Automated fixes
- The command-line interface has a --fix option to fix issues automatically. source
- Best practices
- TFLint can enforce best practices and naming conventions. source
- Cloud checks
- Its key features include finding possible errors for AWS, Azure, and GCP, such as invalid instance types. source
- Extensibility
- Users can add plugins, build their own plugins, or write policies in Rego. source
- Integrations
- The project provides a GitHub Action and a Docker image, and supports installation with Homebrew, WinGet, or Go. source
- License
- The project says most of its files use MPL 2.0, some files in the terraform package use BUSL 1.1, and release binaries are bound by both licenses. source
- Outputs
- Supported output formats include default, JSON, Checkstyle, JUnit, compact, and SARIF. source
- Purpose
- TFLint is a pluggable Terraform linter whose features are provided by plugins. source
- Release availability
- The releases page lists v0.64.0 as the latest release, dated July 17, 2026. source
- Release verification
- The project recommends verifying release checksums with GitHub CLI artifact attestations and marks Cosign signatures as deprecated. source
- Support
- The README directs users to the User Guide for usage details and the Developer Guide for development information. source
- Terraform rules
- The bundled Terraform language ruleset can warn about deprecated syntax and unused declarations. source
Checked against the maker's pages on 29 Sept 2026.