Skip to main content
Demo

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



More resources like this one

  • 3/15/2023
  • Presentation

Advanced Terraform techniques

  • 2/3/2023
  • Case Study

Automating Multi-Cloud, Multi-Region Vault for Teams and Landing Zones

  • 2/1/2023
  • Case Study

Should My Team Really Need to Know Terraform?

  • 1/20/2023
  • Case Study

Packaging security in Terraform modules

HashiCorp uses data collected by cookies and JavaScript libraries to improve your browsing experience, analyze site traffic, and increase the overall performance of our site. By using our website, you’re agreeing to our Privacy Policy and Cookie Policy.

The categories below outline which companies and tools we use for collecting data. To opt out of a category of data collection, set the toggle to “Off” and save your preferences.