{"repo":"terraform-linters/tflint","free":true,"listed":false,"github":"https://github.com/terraform-linters/tflint","clone":"git clone https://github.com/terraform-linters/tflint.git","description":"A Pluggable Terraform Linter","language":"Go","stars":5793,"topics":["terraform","tflint"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"TFLint A Pluggable Terraform Linter Features TFLint is a framework and each feature is provided by plugins, the key features are as follows: - Find possible errors (like invalid instance types) for Major Cloud providers (AWS/Azure/GCP). - Warn about deprecated syntax, unused declarations. - Enforce best practices, naming conventions. Installation Download the appropriate archive from the latest release, verify it, and install the binary: Homebrew (macOS): WinGet (Windows): Go: Verification GitHub CLI (Recommended) Artifact Attestations are available that can be verified using the GitHub CLI. Cosign (Deprecated) [!WARNING] Cosign signatures are now deprecated. Please use GitHub CLI. Cosign verify-blob command ensures that the release was built with GitHub Actions in this repository. Docker Instead of installing directly, you can use the Docker image: To download plugins, you can override the entrypoint to a shell ( sh ) to run --init and the main command in a single docker run command: GitHub Actions If you want to run on GitHub Actions, setup-tflint action is available. Getting Started First, enable rules for Terraform Language (e.g. warn about deprecated syntax, unused declarations). TFLint Ruleset for Terraform Language is bundled with TFLint, so you can use it without installing it separately. The bundled plugin enables the \"recommended\" preset by default, but you can disable the plugin or use a different preset. Declare the plugin block in .tflint.hcl like this: See the t","default_branch":null,"files":null,"tree":[],"storefront":"/r/terraform-linters","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/terraform-linters/tflint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}