github.com/tomaszheflik/terraform@v0.7.3-0.20160827060421-32f990b41594/terraform/test-fixtures/graph-count-var-resource/main.tf (about) 1 resource "aws_instance" "foo" {} 2 3 resource "aws_instance" "web" { 4 count = "${aws_instance.foo.bar}" 5 } 6 7 resource "aws_load_balancer" "weblb" { 8 members = "${aws_instance.web.*.id}" 9 }