github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  }