blob: 3510fe1c4b44544946b5d8a38b58a9a0583e2347 [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)
__template_requires_new = true
}