github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/transform-targets-downstream/main.tf (about) 1 resource "aws_instance" "foo" { 2 } 3 4 module "child" { 5 source = "./child" 6 } 7 8 output "root_id" { 9 value = "${aws_instance.foo.id}" 10 } 11 12 output "child_id" { 13 value = "${module.child.id}" 14 } 15 16 output "grandchild_id" { 17 value = "${module.child.grandchild_id}" 18 }