github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/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  }