StealIt

Terraform Stacks

terraform-stacks

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 structure.

Install

Run this in your project folder. It works with Claude Code, Cursor, Codex and dozens of other agents.

$ npx skills add hashicorp/agent-skills --skill terraform-stacks

Needs Node.js. Add -g to install for every project, or -a claude-code to skip the agent picker.

How to use Terraform Stacks

Once it's installed, Claude reads this skill on its own whenever a request matches what it's for, so you don't have to mention it by name. In Claude Code you can also run it directly by typing /terraform-stacks.

It contains no scripts, only instructions and reference files, so it can't run code on its own.

What the instructions cover

  1. 1Core Concepts
  2. 2File Structure
  3. 3Required Terraform version (.terraform-version)
  4. 4Component Configuration (.tfcomponent.hcl)
  5. 5Deployment Configuration (.tfdeploy.hcl)
  6. 6Terraform Stacks CLI
  7. 7Monitoring Deployments with HCP Terraform API
  8. 8Common Patterns
  9. 9Best Practices
  10. 10Troubleshooting
  11. 11References

Section headings from the skill's SKILL.md file.

What's inside · 7 files

  • SKILL.md
  • references/api-monitoring.md
  • references/component-blocks.md
  • references/deployment-blocks.md
  • references/examples.md
  • references/linked-stacks.md
  • references/troubleshooting.md

More from HashiCorp

See all →

AWS Ami Builder

Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.

Cloud & DevOpsHashiCorp913

Azure Image Builder

Build Azure managed images and Azure Compute Gallery images with Packer. Use when creating custom images for Azure VMs.

Cloud & DevOpsHashiCorp913

Azure Verified Modules

Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM…

Cloud & DevOpsHashiCorp913

New Terraform Provider

Use this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module setup, provider server main.go, and a provider.go with schema and…

Cloud & DevOpsHashiCorp913
See all →

Deploy To Vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a…

Cloud & DevOpsVercel34k

Vercel CLI With Tokens

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to…

Cloud & DevOpsVercel34k

Vercel Optimize

Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config…

Cloud & DevOpsVercel34k

Connectivity Triage

Use this skill when debugging active macOS connectivity failures, when an API or MCP service times out or disconnects, when DNS resolution is failing or inconsistent, or when…

Cloud & DevOpsSeth Hobson42k