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/module-with-for-each/main.tf

11 lines
180 B

variable "module_name" {
type = string
const = true
}
module "example" {
source = "./modules/${var.module_name}"
for_each = toset(["a", "b"])
letter = each.value
}