github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/apply-multi-ref/main.tf (about)

     1  resource "aws_instance" "create" {
     2  	bar = "abc"
     3  }
     4  
     5  resource "aws_instance" "other" {
     6  	var = "${aws_instance.create.id}"
     7      foo = "${aws_instance.create.bar}"
     8  }