github.com/robertreppel/terraform@v0.11.8-0.20180412164320-05291ab9822d/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 }