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/dynamic-module-sources/provider-function-in-valida.../main.tf

21 lines
373 B

terraform {
required_providers {
test = {
source = "test"
}
}
}
variable "module_input" {
type = string
validation {
condition = provider::test::is_true(var.module_input == "hello")
error_message = "The module_input variable must be set to \"hello\""
}
}
module "example" {
source = "./modules/example"
in = var.module_input
}