github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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 }