github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 }