terraform/internal/command/testdata/test/custom_condition_inputs/main.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
224 B
Terraform
Raw Permalink Normal View History

variable "input" {
type = string
validation {
condition = var.input == "something very specific"
error_message = "this should definitely fail"
}
}
resource "test_resource" "resource" {
value = var.input
}