github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/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  }