github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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 }