github.com/federicobaldo/terraform@v0.6.15-0.20160323222747-b20f680cbf05/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 }