github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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 }