Skip to content
Back to skills

Lint Terraform Modules For Provider Mistakes And Policy Violations With Tflint

ASecurity

Check Terraform before plan or apply so invalid attributes, provider-specific mistakes, and custom rule violations are caught early.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsgoshelldockerterraformgitsecuritydocumentation

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill lint-terraform-modules-for-provider-mistakes-and-policy-violations-with-tflint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint Terraform Modules For Provider Mistakes And Policy Violations With Tflint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint Terraform Modules For Provider Mistakes And Policy Violations With Tflint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-lint-terraform-modules-for-provider-mistakes-and-p/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-lint-terraform-modules-for-provider-mistakes-and-p)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Lint Terraform modules for provider mistakes and policy violations with TFLint"
slug: "lint-terraform-modules-for-provider-mistakes-and-policy-violations-with-tflint"
description: "Check Terraform before plan or apply so invalid attributes, provider-specific mistakes, and custom rule violations are caught early."
github_stars: 5677
verification: "security_reviewed"
source: "https://github.com/terraform-linters/tflint"
author: "terraform-linters"
publisher_type: "organization"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "terraform-linters/tflint"
  github_stars: 5677
---

# Lint Terraform modules for provider mistakes and policy violations with TFLint

Check Terraform before plan or apply so invalid attributes, provider-specific mistakes, and custom rule violations are caught early.

## Prerequisites

TFLint binary, Terraform configuration, optional plugin rules

## Installation

Use the upstream install or setup path that matches your environment:
- brew install terraform-linters/tap/tflint
- docker run --rm -v $(pwd):/data -t ghcr.io/terraform-linters/tflint
- docker run --rm -v $(pwd):/data -t --entrypoint /bin/sh ghcr.io/terraform-linters/tflint -c "tflint --init && tflint"

Requirements and caveats from upstream:
- ### 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:

Basic usage or getting-started notes:
- Download the appropriate archive from the [latest release](https://github.com/terraform-linters/tflint/releases/latest), verify it, and install the binary:
- console
- curl -sSLO https://github.com/terraform-linters/tflint/releases/latest/download/tflint_linux_amd64.zip

- Source: https://github.com/terraform-linters/tflint
- Extracted from upstream docs: https://raw.githubusercontent.com/terraform-linters/tflint/HEAD/README.md

## Documentation

- https://github.com/terraform-linters/tflint

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-terraform-modules-for-provider-mistakes-and-policy-violations-with-tflint/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.