Video: Health checks with HCP Terraform continuous validation
How can you be sure the resources you've provisioned with Terraform are still functioning as expected? Learn how to define checks and use continuous validation in HCP Terraform to gain insight into your infrastructure's health.
Continuous validation in HCP Terraform is now generally available, along with support for the new check blocks in Terraform 1.5! These checks allow you to define functional validations for provisioned infrastructure using custom assertions integrated directly into your infrastructure code. Combined with the custom condition blocks introduced in Terraform 1.2, you can validate Terraform resources and modules throughout their entire lifecycle.
HCP Terraform's continuous validation automatically performs background assessments of these conditions and checks, ensuring your infrastructure is always operating as intended. With configurable notifications via email, Slack, Microsoft Teams, or custom webhooks, you can proactively address health issues, minimizing the risk of costly outages.
Learn about Terraform checks
0:00 - Intro
0:22 - Define conditions and assertions in code
1:00 - Terraform 1.5 checks
2:29 - Continuous validation
2:54 - Enable health assessments
3:22 - View assertion results
3:59 - Notifications
4:30 - Summary and resources