github.com/trawler/terraform@v0.10.8-0.20171106022149-4b1c7a1d9b48/terraform/test-fixtures/apply-multi-var-count-dec/main.tf (about) 1 variable "count" {} 2 3 resource "aws_instance" "foo" { 4 count = "${var.count}" 5 value = "foo" 6 } 7 8 resource "aws_instance" "bar" { 9 value = "${join(",", aws_instance.foo.*.id)}" 10 }