Files
opentf/internal/command/testdata/test/custom_condition_inputs/main.tf

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
}