TFLint is a pluggable Terraform linter that analyzes infrastructure-as-code configurations for errors and best practice violations.
TFLint addresses the challenge of maintaining code quality and correctness in Terraform configurations by using a plugin-based architecture where each feature is provided by independent plugins. The tool can find possible errors like invalid instance types for major cloud providers, warn about deprecated syntax and unused declarations, and enforce best practices and naming conventions. Users install the core linter and then selectively enable plugins for the Terraform language itself and for specific cloud providers like AWS, Azure, or GCP.
Teams should adopt TFLint if they manage Terraform infrastructure across cloud providers and want automated checks integrated into their development workflow. The tool suits projects of any scale that benefit from catching configuration errors early. A bundled plugin for Terraform language rules enables recommended checks by default without requiring separate installation, making it accessible for teams new to linting. Additional cloud-provider-specific plugins can be installed and configured through a simple configuration file, and the tool integrates with GitHub Actions through a dedicated setup action.
The maintainers respond to new issues and pull requests within a day. Work in the issue tracker centers on bug fixes and enhancements.