terraform/configs/testdata/warning-files/variable_validation_experim...

11 lines
238 B
HCL

terraform {
experiments = [variable_validation] # WARNING: Experimental feature "variable_validation" is active
}
variable "validation" {
validation {
condition = var.validation == 5
error_message = "Must be five."
}
}