github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/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  }