github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/plan-module-multi-var/child/main.tf (about)

     1  variable "things" {}
     2  
     3  resource "aws_instance" "bar" {
     4    baz = "baz"
     5    count = 2
     6  }
     7  
     8  resource "aws_instance" "foo" {
     9    foo = "${join(",",aws_instance.bar.*.baz)}"
    10  }