You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/command/testdata/query/with-invalid-variables/query.tfquery.hcl

18 lines
344 B

variable "target_ami" {
description = "The AMI to search for"
type = string
validation {
condition = length(var.target_ami) > 10
error_message = "AMI ID must be longer than 10 characters."
}
}
list "test_instance" "example" {
provider = test
config {
ami = var.target_ami
foo = "invalid-instance"
}
}