github.com/tomaszheflik/terraform@v0.7.3-0.20160827060421-32f990b41594/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  }