github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/plan-computed-list/main.tf (about)

     1  resource "aws_instance" "foo" {
     2      num = "2"
     3      compute = "list.#"
     4  }
     5  
     6  resource "aws_instance" "bar" {
     7      foo = "${aws_instance.foo.list.0.bar}"
     8  }