#2424th of 43 in Code review and testing

tflint

Pluggable linter for Terraform configurations

Stars
5.9k
License
MPL-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Go
Stars, last 29 weeks+207
22 Apr 2026: 5,647 stars29 Apr 2026: 5,656 stars6 May 2026: 5,667 stars13 May 2026: 5,675 stars20 May 2026: 5,681 stars27 May 2026: 5,689 stars3 Jun 2026: 5,700 stars10 Jun 2026: 5,709 stars17 Jun 2026: 5,719 stars24 Jun 2026: 5,726 stars1 Jul 2026: 5,732 stars8 Jul 2026: 5,736 stars15 Jul 2026: 5,742 stars22 Jul 2026: 5,749 stars29 Jul 2026: 5,753 stars5 Aug 2026: 5,764 stars12 Aug 2026: 5,767 stars19 Aug 2026: 5,772 stars26 Aug 2026: 5,777 stars2 Sept 2026: 5,787 stars9 Sept 2026: 5,791 stars16 Sept 2026: 5,804 stars23 Sept 2026: 5,808 stars30 Sept 2026: 5,817 stars7 Oct 2026: 5,824 stars14 Oct 2026: 5,832 stars21 Oct 2026: 5,835 stars28 Oct 2026: 5,840 stars4 Nov 2026: 5,846 stars11 Nov 2026: 5,854 stars

5,647 on 22 Apr 20265,854 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TFLint is a Go command-line linter for Terraform code. The core is a plugin framework, and rules come from rulesets: one for the Terraform language is bundled, and AWS, Azure and Google Cloud rulesets install with `tflint --init`. It catches things like invalid instance types, deprecated syntax and unused declarations, and outputs default, JSON, checkstyle, JUnit, compact or SARIF.

Who it is for: Terraform users who want linting in local runs and CI pipelines

Strengths

  • Plugin rulesets for AWS, Azure and GCP catch provider-specific errors such as invalid instance types
  • Custom rules via your own plugin or Rego policies through the OPA ruleset
  • Output formats include JSON, SARIF, JUnit and checkstyle for CI; a setup-tflint GitHub Action exists
  • Has --fix for automatic fixes, --recursive for multi-directory runs, and a language server mode

Weaknesses

  • Cloud provider checks need separate plugins installed through tflint --init
  • Release binaries fall under both MPL 2.0 and BUSL 1.1 because of some terraform package files
  • Cosign signature verification is deprecated in favor of GitHub attestations
  • Not AI-based; rule-driven static checks only, so coverage depends on available rulesets

What it needs

  • no GPU
  • Docker
  • Needs GitHub (plugin download via tflint --init)

What changed

  1. v0.65.0 ↗ (opens in a new tab)Security fix

    “deps: Bump Go version to 1.26.10 by @wata727 in https://github.com/terraform-linters/tflint/pull/2672”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Code review and testing

See all 43
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit100k stars+2,481 (+2.5%) in 30 daysApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k starsMIT93 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments50k stars+3,413 (+7.3%) in 30 daysApache-2.092 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25k starsApache-2.088 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k starsApache-2.088 out of 100