github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/apply-destroy-targeted-count/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    count = 3
     3  }
     4  
     5  resource "aws_instance" "bar" {
     6    foo = ["${aws_instance.foo.*.id}"]
     7  }