Ensure the workspace uses Terraform 1.3.0 or later and is set to Remote or Agent execution mode; health assessments are not available in local execution mode.
In the HCP Terraform UI navigate to the workspace Settings > Health and toggle on both Drift Detection and Continuous Validation.
Add `check` blocks to your Terraform configuration to define assertions that continuous validation will evaluate between applies.
HCP Terraform schedules an automatic assessment roughly every 24 hours; any new apply resets the 24-hour clock.
Query the `/api/v2/assessment-results` endpoint to retrieve the latest assessment JSON programmatically for dashboarding or alerting.
Review the workspace Health tab after the first assessment cycle to confirm both drift and check-block results are being captured.
Known gotchas
Health assessments require at least one successful prior run in the workspace; a workspace that has never applied will not produce results.
Continuous validation only evaluates `check` blocks, not `precondition` or `postcondition` blocks, which run only during applies.
Assessment runs are read-only; they cannot remediate drift — a separate apply run must be triggered to reconcile detected differences.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp