terraform-review

Analyze Terraform configurations for structural, security, and operational issues.

8|4|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/adrien-barret/claude-kit --skill terraform-review-adrien-barret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-review
Source: https://github.com/adrien-barret/claude-kit/tree/main/project-template/.claude/skills/terraform-review
Command: npx skills add https://github.com/adrien-barret/claude-kit --skill terraform-review-adrien-barret

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes Terraform configurations to help teams enforce correct structure, secure practices, and reliable state management, reducing risk across environments.

Core Features & Use Cases

  • Module structure auditing: Encourage thin root modules with clear inputs, outputs, and documentation.
  • State and backend verification: Ensure remote state is configured with locking and per-environment separation.
  • Provider versioning & security: Pin providers and avoid hard-coded credentials, with proper secret handling.
  • Operational best practices: Tag resources, plan reviews, drift detection, and enforced workflow checks.

Quick Start

Run the review against your Terraform module, for example: terraform-review ./modules/my-app

Frequently Asked Questions about terraform-review

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

FAQPage Schema
How do I check Terraform configurations for security and state management issues?

You can review Terraform configurations for security and state issues by analyzing module files to verify remote state with locking, provider version pinning, and proper resource tagging, suggesting concrete HCL changes.

What is the best way to audit Terraform module structure before production deployment?

Auditing Terraform module structure before production deployment involves enforcing thin root modules with clear inputs, outputs, and documentation, while verifying proper module boundaries across environment promotions.

Can I use a Terraform code review to detect hard-coded credentials and provider versioning risks?

Yes, you can use a Terraform code review to detect hard-coded credentials and provider versioning risks by analyzing configuration files to ensure providers are pinned and secrets are handled securely.

Does Terraform code review work for environment promotion and production deployments?

Terraform code review works for environment promotion and production deployments by enforcing operational best practices like plan reviews, drift detection, and enforced workflow checks to reduce risk across environments.

How do I enforce remote state with locking and per-environment separation in Terraform?

You enforce remote state with locking and per-environment separation in Terraform by analyzing backend configuration files to verify proper state isolation and locking mechanisms are applied before deployment.

What are the limitations of automated Terraform configuration reviews?

Automated Terraform configuration reviews are limited to analyzing structural, security, and operational issues within configuration files, suggesting concrete HCL changes rather than executing plan validations or runtime drift detection.