terraform/configs/testdata/valid-files/variable_validation.tf

7 lines
121 B
HCL

variable "validation" {
validation {
condition = var.validation == 5
error_message = "Must be five."
}
}