github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/transform-targets-downstream/child/child.tf (about)

     1  resource "aws_instance" "foo" {
     2  }
     3  
     4  module "grandchild" {
     5    source = "./grandchild"
     6  }
     7  
     8  output "id" {
     9    value = "${aws_instance.foo.id}"
    10  }
    11  
    12  output "grandchild_id" {
    13    value = "${module.grandchild.id}"
    14  }