github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/issue-5254/step-1/main.tf (about) 1 variable "c" { default = 1 } 2 3 resource "template_file" "parent" { 4 count = "${var.c}" 5 template = "Hi" 6 } 7 8 resource "template_file" "child" { 9 template = "${join(",", template_file.parent.*.template)}" 10 __template_requires_new = 1 11 }