Home / Companies / HashiCorp / Blog / Post Details
Content Deep Dive

Wait Conditions in the Kubernetes Provider for HashiCorp Terraform

Blog post from HashiCorp

Post Details
Company
Date Published
Author
Phil Sautter
Word Count
1,278
Language
English
Hacker News Points
-
Summary

The HashiCorp Terraform Strategic Integrations team has improved the wait_for configurations on several resources, introducing an entirely new generic waiter. This allows users to specify whether Terraform should wait for a specific condition or not before continuing to apply their configuration or complete successfully. The new generic wait_for attribute gives users more control over wait conditions and is available on all Kubernetes resources. It instructs the Terraform provider to wait on a condition based on any attribute of a Kubernetes object, allowing users to specify multiple conditions that must be met simultaneously. Additionally, the Kubernetes-alpha provider introduces a new kubernetes_manifest resource and a generic wait_for attribute that supports regular expressions in conditions. This provides more flexibility and control over wait conditions, enabling users to wait for specific attributes or values within their Kubernetes resources.