github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/apply-destroy/main.tf (about)

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