- Home
- Bootable USB Software
- TFLint
TFLint
What it is
TFLint is a free, pluggable command-line linter for Terraform configurations. Its bundled language rules can flag deprecated syntax and unused declarations, while cloud-specific checks look for possible errors in AWS, Azure, and GCP configurations, including invalid instance types. TFLint can also enforce best practices and naming conventions. Users can add plugins, create their own, or write policies in Rego. The CLI includes a --fix option for automatically correcting issues, and reports can be produced in default, JSON, Checkstyle, JUnit, compact, or SARIF formats. The project provides a GitHub Action and Docker image, with installation options through Homebrew, WinGet, or Go. It runs locally on Linux, macOS, and Windows. The plan is free at no cost, and there is no free trial. Most files use MPL 2.0, some files in the terraform package use BUSL 1.1, and release binaries are bound by both licenses.
For and against
For
- Checks for possible AWS, Azure, and GCP errors.
- Can flag deprecated syntax and unused declarations.
- Supports plugins and policies written in Rego.
- Offers automatic fixes and six output formats.
Against
- No free trial is listed.
- Release binaries are bound by MPL 2.0 and BUSL 1.1.
The verdict
TFLint combines Terraform language checks with cloud-specific rules and extensibility. Users should review the project’s licensing details and select the output format suited to their workflow.
Who it suits
TFLint suits Terraform users who want local checks for language rules, cloud-specific issues, and naming practices. Its plugins and Rego policies also support users who need to extend the available checks.
Plans and prices
TFLint
Open-source command-line Terraform linter
Read 29 Sep 2026 · github.com
On the record
- Automated fixes
- The command-line interface has a --fix option to fix issues automatically.github.com · read 29 Sep 2026
- Best practices
- TFLint can enforce best practices and naming conventions.github.com · read 29 Sep 2026
- Cloud checks
- Its key features include finding possible errors for AWS, Azure, and GCP, such as invalid instance types.github.com · read 29 Sep 2026
- Extensibility
- Users can add plugins, build their own plugins, or write policies in Rego.github.com · read 29 Sep 2026
- Integrations
- The project provides a GitHub Action and a Docker image, and supports installation with Homebrew, WinGet, or Go.github.com · read 29 Sep 2026
- 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.github.com · read 29 Sep 2026
- Outputs
- Supported output formats include default, JSON, Checkstyle, JUnit, compact, and SARIF.github.com · read 29 Sep 2026
- Purpose
- TFLint is a pluggable Terraform linter whose features are provided by plugins.github.com · read 29 Sep 2026
- Release availability
- The releases page lists v0.64.0 as the latest release, dated July 17, 2026.github.com · read 29 Sep 2026
- Release verification
- The project recommends verifying release checksums with GitHub CLI artifact attestations and marks Cosign signatures as deprecated.github.com · read 29 Sep 2026
- Support
- The README directs users to the User Guide for usage details and the Developer Guide for development information.github.com · read 29 Sep 2026
- Terraform rules
- The bundled Terraform language ruleset can warn about deprecated syntax and unused declarations.github.com · read 29 Sep 2026