Terraform Stacks
Independent PiSkill directory guide. The original skill remains hosted by HashiCorp Agent Skills.
What is Terraform Stacks?
Helps structure and orchestrate Terraform deployments across multiple environments or regions using Terraform Stacks and reusable infrastructure components.
What does Terraform Stacks do?
Terraform Stacks is a HashiCorp Agent Skill for organizing and working with HashiCorp Terraform Stacks, where infrastructure is assembled from reusable components and deployments rather than maintained as one flat configuration. It is intended for larger environments that need repeatable multi-environment composition and deployment structure.
Who is Terraform Stacks best for?
- Platform teams managing reusable Terraform components
- Organizations standardizing several environments or regions
- Developers adopting Terraform Stacks
- Projects that need a clearer separation between components and deployments
Common use cases
- Create or modify a Terraform Stack
- Define reusable infrastructure components
- Configure deployments across environments
- Review stack composition and deployment inputs
How does Terraform Stacks work?
The skill guides the user through stack configuration, component definitions and deployment-oriented structure using the Terraform Stacks model. It keeps reusable infrastructure definitions separate from the higher-level deployment composition so the same building blocks can be applied consistently.
Key benefits
- Supports reusable infrastructure composition
- Helps organize multi-environment Terraform work
- Separates component definitions from deployment structure
- Aligns with HashiCorp's maintained Terraform Stacks workflow
Things to know
- Terraform Stacks introduces concepts beyond conventional root modules
- Teams should confirm product support and workflow fit before migration
- Existing Terraform configurations may require deliberate refactoring to adopt the model
Compatible tools
Frequently asked questions
What are Terraform Stacks used for?
Is Terraform Stacks the same as a normal Terraform root module?
Related skills
Terraform Search and Import
Discovers existing cloud resources with Terraform Search and brings unmanaged infrastructure under Terraform using bulk import and generated configuration workflows.
Terraform Style Guide
Generates and reviews Terraform HCL using HashiCorp's official style conventions, recommended file organization, variables, outputs, providers, and maintainable infrastructure patterns.
AWS CloudFormation
Guides infrastructure-as-code work with AWS CloudFormation, including template authoring, deployment, troubleshooting, stack behavior, dependencies, and production-safe infrastructure changes.
Terraform Test
Guides Terraform's built-in testing framework with .tftest.hcl files, run blocks, assertions, mock providers, CI workflows, and safe validation of infrastructure behavior.
AWS Context Discovery
Discovers the active AWS profile, region, account, and caller identity before Hugging Face cloud or SageMaker work so later steps use the correct AWS context.
New Terraform Provider
Scaffolds a new Terraform provider using the Terraform Plugin Framework, including Go module setup, provider server entrypoint, schema, configuration, build, and tests.