hashicorp/terraform-stacks
Manage infrastructure across multiple environments, regions, and cloud accounts
Open source
Description
terraform-stacks is an agent skill from HashiCorp for Terraform Stacks, a configuration layer above ordinary Terraform modules for managing infrastructure across several environments, regions and cloud accounts. The skill explains the two file types Stacks uses: .tfcomponent.hcl files define reusable components, and .tfdeploy.hcl files define the deployment instances. One stack can drive dozens of deployments, each with isolated state per environment. The page says that managing multi-environment Terraform by hand means duplicating module calls, wiring outputs manually and coordinating state across workspaces, and Stacks replaces that with one declarative configuration that handles dependency ordering and deployment isolation. Example jobs from the page are deploying the same infrastructure to dev, staging and prod from one component definition, and other multi-environment setups that would otherwise repeat module calls. It is for platform teams that run the same infrastructure in several places. Install it with npx skills add https://github.com/hashicorp/agent-skills --skill terraform-stacks. HashiCorp publishes it in its agent-skills repository on GitHub, and the page labels it official.…
Highlights
- Components in .tfcomponent.hcl files
- Deployments in .tfdeploy.hcl files
- Isolated state per environment
- Dependency ordering handled automatically
- One stack for many deployments
Ratings & Reviews
No ratings yet
Be the first to rate hashicorp/terraform-stacks.
People also visit
hashicorp/terraform-stacks FAQ
What are Terraform Stacks?
A configuration layer above Terraform modules for managing infrastructure across environments, regions and accounts.
What file types does it use?
The page names .tfcomponent.hcl for reusable components and .tfdeploy.hcl for deployment instances.
How do I install it?
Run npx skills add https://github.com/hashicorp/agent-skills --skill terraform-stacks.
Is state separated between environments?
Yes. The page says each deployment has isolated state per environment.
Who publishes it?
HashiCorp, in its agent-skills repository on GitHub. The page labels it official.
What are the best hashicorp/terraform-stacks alternatives?
Popular alternatives to hashicorp/terraform-stacks include terraform-stacks, terraform-skill and terraform-iac-data-engineering. See all hashicorp/terraform-stacks alternatives











