Skip to content

Terraform Manager

Caution

Infrastructure as Code agent that generates, validates, and plans Terraform configurations for cloud resources across AWS, GCP, and Azure.

By CloudOps Community 4,820 v2.1.0 Updated 2026-03-10

Install

Claude Code

Copy the SKILL.md file to your project's .claude/skills/ directory

About This Skill

Terraform Manager is an Infrastructure as Code skill that helps you write, organize, and troubleshoot Terraform configurations. It understands HCL syntax, provider APIs, and Terraform best practices to generate production-ready infrastructure code.

How It Works

  1. Requirement analysis — Parses your infrastructure needs and selects appropriate providers and resources
  2. Module generation — Creates well-structured Terraform modules with proper variable typing and validation
  3. Dependency resolution — Handles resource dependencies, data sources, and cross-module references
  4. Plan review — Analyzes `terraform plan` output to identify risky changes like resource destruction
  5. State management — Assists with state migrations, imports, and workspace configuration

Best For

  • Teams adopting Infrastructure as Code for the first time
  • Refactoring legacy Terraform into reusable modules
  • Multi-cloud architectures requiring consistent patterns
  • Reviewing plan output before applying changes to production

Safety Considerations

This skill generates code that directly manages cloud infrastructure. Always review generated configurations in a staging environment first. Use `prevent_destroy` lifecycle rules for critical resources and enable remote state with locking.

Use Cases

  • Scaffold new cloud infrastructure from requirements
  • Refactor monolithic Terraform into modular structure
  • Generate variable definitions and output blocks
  • Review and fix Terraform plan errors
  • Migrate resources between Terraform state files

Pros & Cons

Pros

  • + Generates well-structured modular Terraform with proper typing
  • + Understands provider-specific resource configurations
  • + Catches common misconfigurations before plan stage
  • + Supports multi-cloud patterns across AWS, GCP, and Azure

Cons

  • - Cannot execute terraform apply — requires human review
  • - Provider API changes may outpace skill knowledge
  • - Complex state operations still need manual oversight

Related AI Tools

Related Skills

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts

每周精选 Skills + 安全预警