github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/issue-5254/step-1/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) 12 __template_requires_new = true 13 }