Files
2024-10-15 09:20:11 +01:00

20 lines
347 B
HCL

variable "variable1" {
type = string
validation {
condition = var.variable1 == "foobar"
error_message = "The variable1 value must be: foobar"
}
}
variable "variable2" {
type = string
validation {
condition = var.variable2 == "barfoo"
error_message = "The variable2 value must be: barfoo"
}
}