github.com/heimweh/terraform@v0.7.4/terraform/test-fixtures/plan-good/main.tf (about) 1 resource "aws_instance" "foo" { 2 num = "2" 3 } 4 5 resource "aws_instance" "bar" { 6 foo = "${aws_instance.foo.num}" 7 }