DEV Community

Discussion on: Terraform: Good to know features - Post 1

Collapse
dogers profile image
Dogers

Unless something has changed in TF 1.x, your first example won't work - "var.env" should be "var.cloudenv" as the validation can only reference the variable it's validating..

Collapse
arunksingh16 profile image
Arun Kumar Singh Author

Good catch.. Sorry for typo, corrected now. Thanks a lot @dogers