blob: dd666eba18cb8a3a1a2bc6db2fee3fcf1051e152 [file] [log] [blame]
variable "c" {
default = 1
}
resource "template_file" "parent" {
count = var.c
template = "Hi"
}
resource "template_file" "child" {
template = "${join(",", template_file.parent.*.template)} ok"
}