health assessment
A scheduled HCP Terraform check that reports drift and failed check blocks or conditions in a workspace, without changing anything.
In more detail
Drift detection compares real infrastructure with state, and continuous validation re-evaluates check blocks, preconditions and postconditions. Assessments need remote or agent execution and a successful apply, and they notify people rather than fixing anything.
Example
Health > Drift: 1 resource driftedRelated terms
- configuration drift — The slow, unrecorded way machines end up with different versions and settings from each other.
- speculative plan — A plan-only HCP Terraform run that previews changes and can never be applied.
- HCP Terraform workspace — The HCP Terraform container for one collection of infrastructure: its configuration source, variables, state, run history and team access.
Taught in
- Drift: When Reality Stops Matching State — HashiCorp Terraform Associate (004) Exam Prep
- Collaboration And Governance: Teams, Policies, Registry And Health — HashiCorp Terraform Associate (004) Exam Prep