What is a Terraform Stack?

Hey guys,

I see the concept of “terraform stacks” around but nothing in the official documentation. Can you guys help me explaining this concept? What is a stack? How can I use them, and so on?

(I’m not talking about CDK but just plain terraform)

1 Like

Hello @i4ki!

There’s is nothing in Terraform itself that is explicitly called a “Stack” today, although some folks use the term informally to refer to a set of Terraform configurations that interact together, such as via data sources.

Some third-party wrappers around Terraform do have a more formalized idea of “stack” (as does CDK for Terraform, as you noted) but exactly what that means is decided by the particular tool and not something I can answer generally.

Hi @apparentlymart

Ok, this makes sense. Thank you for your time.