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

     1  resource "aws_instance" "foo" {
     2  }
     3  
     4  data "aws_data_source" "foo" {
     5    foo = "${aws_instance.foo.computed}"
     6  }