Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl,…
Terraform Stacks Terraform Stacks simplify infrastructure provisioning and management at scale by providing a configuration layer above traditional Terraform modules. Stacks enable declarative orchestration of multiple components across environments, regions, and cloud accounts. Core Concepts Stack: A complete unit of infrastructure composed of components and deployments that can be managed together. Component: An abstraction around a Terraform module that defines infrastructure pieces. Each component specifies a source module, inputs, and providers. Deployment: An instance of all components in a stack with specific input values. Use deployments for different environments (dev/staging/prod), regions, or cloud accounts. Stack Language: A separate HCL-based language (not regular Terraform HCL) with distinct blocks and file extensions. File Structure Terraform Stacks use specific file extensions:
don't have the plugin yet? install it then click "run inline in claude" again.