Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and…
Install
npx skills add hashicorp/agent-skills --skill terraform-stacksnpx skills add hashicorp/agent-skills --skill terraform-stacks -a claude-code -gnpx skills add hashicorp/agent-skills --skill terraform-stacks -a codex -ggemini skills install https://github.com/hashicorp/agent-skills.git --path plugins/terraform/skills/terraform-stacksgh skill install hashicorp/agent-skills terraform-stacksgit clone --depth 1 https://github.com/hashicorp/agent-skills /tmp/hashicorp__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/terraform-stacks ~/.claude/skills/terraform-stacks # Claude Code
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/terraform-stacks ~/.agents/skills/terraform-stacks # Codex, Cursor, Gemini CLI, Copilot, OpenCode