Company
Date Published
Author
Martin Atkins & Petros Kolyvas
Word count
353
Language
English
Hacker News points
None

Summary

Terraform 0.13 has introduced custom variable validation, a production-ready feature that allows configurations to contain validation conditions for specific variables. This feature builds upon the type system in Terraform by providing a way to define error messages and conditions for variable values. The validation is evaluated in a reduced context and can be distinguished from errors caused by other parts of the configuration. With this feature, users can ensure data consistency and accuracy in their Terraform configurations.