github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/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 }