github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/testdata/issue-5254/step-0/main.tf (about) 1 variable "c" { 2 default = 1 3 } 4 5 resource "template_file" "parent" { 6 count = var.c 7 template = "Hi" 8 } 9 10 resource "template_file" "child" { 11 template = "${join(",", template_file.parent.*.template)} ok" 12 }