terraform-review

Review Terraform code for security, state management, and best practices.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/AdeptMind/pr-emojis-in-slack --skill terraform-review-adeptmind
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-review
Source: https://github.com/AdeptMind/pr-emojis-in-slack/tree/main/.claude/skills/terraform-review
Command: npx skills add https://github.com/AdeptMind/pr-emojis-in-slack --skill terraform-review-adeptmind

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexities and potential pitfalls in Terraform configurations, ensuring code quality, security, and adherence to best practices.

Core Features & Use Cases

  • Comprehensive Code Review: Analyzes Terraform code for module structure, state management, provider versioning, security vulnerabilities, and operational efficiency.
  • Best Practice Enforcement: Identifies deviations from industry standards and provides actionable recommendations for improvement.
  • Use Case: A team is deploying a new cloud infrastructure using Terraform. Before applying changes, they use this Skill to proactively identify security risks like open ingress ports or unpinned provider versions, and to ensure proper state management is configured.

Quick Start

Review the Terraform configuration in the 'modules/network' directory for security and best practices.

Frequently Asked Questions about terraform-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Terraform code for security vulnerabilities and best practices?

Reviewing Terraform code involves analyzing .tf files and module directories against security and operational checklists. It detects deviations from industry standards to ensure proper state management and infrastructure code quality.

What is the best way to audit infrastructure-as-code for operational efficiency?

Auditing infrastructure-as-code for operational efficiency involves checking Terraform configurations against operational checklists. This validates module structure, state management, and provider versioning to yield actionable improvement recommendations.

Can I check Terraform module structure and state management before deployment?

Yes, you can check Terraform module structure and state management before deployment. Analyzing module directories and plan outputs against operational checklists validates configurations and proactively identifies potential state issues.

Does the Terraform review process work with plan outputs and .tf files?

Yes, the Terraform review process works with .tf files, module directories, and plan outputs. It analyzes these inputs against security and operational checklists to validate infrastructure-as-code deployments.

Why should I audit Terraform provider versioning and security configurations?

Auditing Terraform provider versioning and security configurations prevents deployment vulnerabilities by identifying unpinned versions and open ingress ports. This enforces industry best practices and ensures cloud infrastructure security.