github.com/LorbusChris/terraform@v0.11.12-beta1/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 }