github.com/subuk/terraform@v0.6.14-0.20160317140351-de1567c2e732/terraform/test-fixtures/refresh-targeted-count/main.tf (about)

     1  resource "aws_vpc" "metoo" {}
     2  resource "aws_instance" "notme" { }
     3  resource "aws_instance" "me" {
     4    vpc_id = "${aws_vpc.metoo.id}"
     5    count = 3
     6  }
     7  resource "aws_elb" "meneither" {
     8    instances = ["${aws_instance.me.*.id}"]
     9  }