github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/apply-ref-existing/main.tf (about) 1 resource "aws_instance" "foo" { foo = "bar" } 2 3 module "child" { 4 source = "./child" 5 6 var = "${aws_instance.foo.foo}" 7 }