mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 03:07:51 -05:00
20 lines
347 B
HCL
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"
|
|
}
|
|
}
|
|
|