github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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 }