github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/issue-5254/step-0/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)} ok" 10 }