github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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  }