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