debug:terraform

Community

Diagnose and fix Terraform IaC issues end-to-end.

AuthorSnakeO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams diagnose and resolve Terraform infrastructure-as-code issues, including state lock conflicts, provider authentication failures, drift, import failures, module version conflicts, and plan/apply errors. It provides TF_LOG debugging, terraform console usage, state manipulation commands, and CI/CD best practices for infrastructure automation.

Core Features & Use Cases

  • Phase-based debugging workflow for Terraform, covering reproduction, root cause analysis, fix, and prevention.
  • Guidance on enabling debug logs (TF_LOG), isolating problems, and using terraform plan/validate/show.
  • Practical commands and patterns for handling state drift, locks, imports, module versions, and provider authentication.

Quick Start

Run a diagnostic on a failing Terraform configuration by enabling TF_LOG=DEBUG and running terraform plan, then summarize the root cause and recommended fixes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: debug:terraform
Download link: https://github.com/SnakeO/claude-debug-and-refactor-skills-plugin/archive/main.zip#debug-terraform

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.