mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-15 04:00:58 -05:00
14 lines
224 B
HCL
14 lines
224 B
HCL
|
|
variable "input" {
|
|
type = string
|
|
|
|
validation {
|
|
condition = var.input == "something very specific"
|
|
error_message = "this should definitely fail"
|
|
}
|
|
}
|
|
|
|
resource "test_resource" "resource" {
|
|
value = var.input
|
|
}
|