github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-computed-data-resource/main.tf (about)

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