Interview Prep/Terraform/State Backends and Workspaces

Should you use HCP Terraform or an S3 backend for state?

BeginnerScenarioState Backends and Workspaces
Answer

Situation read → A build-versus-buy decision for a small team.

What I'd do →

  1. S3 (or GCS, Azure Blob): cheap, simple, and you own the pipeline.
  2. HCP Terraform: remote runs, state locking, RBAC, policy, private registry and SSO out of the box, at a per-resource price.
  3. Pick HCP if you'd otherwise build runs, approvals and policy yourself.

Why → It's about operational effort and governance needs rather than technical capability.

Interview tip → Also mention OpenTofu with an S3 backend as a licence-free path.

All Terraform questions Roadmap: Terraform in production

More on State Backends and Workspaces