TFLint is a plugin-based static analysis utility designed to identify potential errors and improve the quality of Terraform infrastructure configurations. It detects invalid resource settings, deprecated syntax, unused declarations, and violations of established coding conventions. Dedicated provider plugins support infrastructure validation for Amazon Web Services, Microsoft Azure, and Google Cloud Platform. Developers can configure individual rules and severity thresholds through project-specific configuration files. Its extensible architecture supports custom rules written in Go or expressed through Open Policy Agent policies. Multiple output formats facilitate automated reporting and continuous integration. Integrated language server functionality enables diagnostics within compatible code editors. TFLint supports Windows, macOS, and Linux.

Features

  • Static Terraform configuration analysis with automated detection of potential infrastructure deployment errors
  • Cloud provider-specific validation through dedicated AWS, Microsoft Azure, and Google Cloud Platform plugins
  • Detection of deprecated syntax, unused declarations, invalid resource configurations, and naming convention violations
  • Customizable project-level linting rules with configurable severity thresholds and plugin initialization
  • Extensible rule development through Go-based plugins and Open Policy Agent policy definitions
  • Language server integration with structured diagnostic reporting and automated CI/CD compatibility

Project Samples

Project Activity

See All Activity >

Categories

DevOps, Linters

License

Mozilla Public License 1.0 (MPL)

Follow TFLint

TFLint Web Site

Other Useful Business Software
Save Up to 91% on Cloud Compute With Spot VMs Icon
Save Up to 91% on Cloud Compute With Spot VMs

Automatic sustained-use discounts. One free VM per month. No negotiation needed.

Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TFLint!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go DevOps Tool, Go Linters

Registered

19 hours ago