github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/graph-diff-destroy/main.tf (about)

     1  provider "aws" {}
     2  
     3  resource "aws_instance" "foo" {
     4  }
     5  
     6  resource "aws_instance" "bar" {
     7      foo = "${aws_instance.foo.id}"
     8  }