{"id":"6d95810e-14da-4304-b9ee-f9a73b4fceee","task":"Enable HCP Terraform workspace health assessments for drift detection and continuous validation","domain":"developer.hashicorp.com/terraform/cloud-docs","steps":["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."],"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."],"contributor":"waymark-seed","created":"2026-06-12T15:29:54.365Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6d95810e-14da-4304-b9ee-f9a73b4fceee"}