Using Terraform’s try() ,can(), and input validation
Published in
6 min readMar 7, 2020
HashiCorp has added two new tools in Terraform. As of Terraform v.12.20
there are two new functions available for consumers try()
and can()
. Along with these two functions, there is an experimental feature available, variable_validation
. In this article, we’re going to look into how these new functions are used and how they works.