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.
More on HCP Terraform, OpenTofu, Scale and Cost
What execution modes does HCP Terraform offer?BeginnerWhat are the three run workflows in HCP Terraform?BeginnerHow are variable sets and sensitive variables used?BeginnerHow is HCP Terraform priced, and how does it affect design?IntermediateHow do you choose between HCP Terraform, Atlantis, Spacelift and plain GitHub Actions?AdvancedWhat drives the choice between Terraform and OpenTofu?Intermediate