# TFLint

> TFLint is a linter for Terraform and OpenTofu that finds errors, deprecated syntax and invalid provider values before you run plan or apply.

- Source: https://www.itwonderlab.com/tflint/
- Published: 2026-09-07
- Updated: 2026-09-07
- Author: Javier Ruiz Jiménez (https://www.javierruizjimenez.com/)
- Site: IT Wonder Lab (https://www.itwonderlab.com/)

---

**TFLint** checks the code with rules that `terraform validate` does not have, such as an instance type that does not exist in AWS. Provider plugins add rules for AWS, Azure and Google Cloud.

### Key concepts

- **Plugin**: the ruleset of a provider.
- **.tflint.hcl**: the configuration file.
- Pair it with [Checkov](https://www.itwonderlab.com/checkov/) for security.

### Learn it

See [Terraform security scanning with TFLint, Checkov and Trivy](https://www.itwonderlab.com/terraform-security-scanning-tflint-checkov-trivy/).
