github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/transform-flatten/main.tf (about)

     1  module "child" {
     2      source = "./child"
     3      var = "${aws_instance.parent.value}"
     4  }
     5  
     6  resource "aws_instance" "parent" {
     7      value = "foo"
     8  }
     9  
    10  resource "aws_instance" "parent-output" {
    11      value = "${module.child.output}"
    12  }