Module 8: HCP Terraform

Lesson 8.5: Collaboration and Governance

Feature What it does Exam-level detail
Teams and permissions Groups of users with access levels at organization, project, or workspace scope Fixed workspace levels: Read, Plan, Write, Admin. Project-level access is also available, and custom permissions are possible. The owners team controls the organization.
Private registry Share modules and providers inside your organization Modules publish from a VCS repo, by tag or branch. Consumers use app.terraform.io/<ORG>/<NAME>/<PROVIDER> with version. No-code modules let users provision from the UI without writing HCL (check your plan).
Policy as code Sentinel (HashiCorp's language) or OPA (Rego) policies, grouped in policy sets attached to the organization, projects, or workspaces Policies run after plan, before apply. Sentinel levels are advisory (warn), soft-mandatory (fails, but users with permission can override), and hard-mandatory (fails, no override). OPA levels are advisory and mandatory.
Run tasks Call external services, such as security scanners or cost tools, during a run Stages: pre-plan, post-plan, pre-apply, post-apply. Enforcement is advisory or mandatory.
Health assessments Scheduled background checks of a workspace Drift detection: real infrastructure vs. state. Continuous validation: re-evaluates check blocks and preconditions and postconditions (Module 4). Results appear in the workspace and can trigger notifications. Check your plan.
Cost estimation Estimated monthly cost per run for supported cloud resources Runs after plan, so policies can use the estimate
State versions Every state change is stored View diffs, and roll back to an earlier version
Explorer Organization-wide view of workspaces, modules, providers, and Terraform versions in use Helps find outdated versions and track usage across workspaces. Check your plan.
Change requests A backlog of action items recorded on a workspace, such as updating a deprecated module version or a security or compliance fix Administrators create them, often from Explorer, and team notifications can alert the workspace owners. Archived once addressed. Standard and Premium editions.
Notifications Slack, Microsoft Teams, email, and webhooks on run events
Audit trails and SSO Organization-level security features Check your plan