github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/plan-count/main.tf (about) 1 resource "aws_instance" "foo" { 2 count = 5 3 foo = "foo" 4 } 5 6 resource "aws_instance" "bar" { 7 foo = "${join(",", aws_instance.foo.*.foo)}" 8 }