How HCP Terraform groups workspaces into projects, shares scoped variables, and coordinates dependent workspace runs.
Projects group related HCP Terraform workspaces and Stacks; they do not package Terraform code like modules. Variable sets distribute Terraform or environment variables to a selected scope, such as one workspace, a project, or an organization. HashiCorp’s variables overview documents scopes and precedence.
Use shared variable sets for genuinely common, appropriately scoped values. Keep secrets sensitive, avoid creating competing definitions for the same value, and understand precedence before relying on a project- or organization-level set.
Run triggers coordinate workflows across workspaces: for example, a successful networking workspace run can initiate a dependent application workspace run. They are not resource dependency edges within a single Terraform configuration; use normal expression references and depends_on for that different problem.