Interview Prep/Terraform/HCP Terraform, OpenTofu, Scale and Cost

How do you design workspaces and projects in HCP Terraform?

IntermediateProductionHCP Terraform, OpenTofu, Scale and Cost
Answer

One workspace per stack per environment (network-prod, app-dev), grouped into projects by team or domain, with project-level permissions and variable sets for shared settings (cloud auth, tags). Avoid one workspace per giant monolith. Use naming conventions and tags to filter, and Terraform provider tfe to manage workspaces themselves as code.

All Terraform questions

More on HCP Terraform, OpenTofu, Scale and Cost