terraform/configs/testdata/invalid-files/variable-validation-bad-msg.tf

12 lines
212 B
HCL

terraform {
experiments = [variable_validation]
}
variable "validation" {
validation {
condition = var.validation != 4
error_message = "not four" # ERROR: Invalid validation error message
}
}