mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
14 lines
201 B
HCL
14 lines
201 B
HCL
|
|
variable "input" {
|
|
type = string
|
|
}
|
|
|
|
output "output" {
|
|
value = var.input
|
|
|
|
precondition {
|
|
condition = var.input == "something incredibly specific"
|
|
error_message = "this should fail"
|
|
}
|
|
}
|