github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/refresh-module-orphan/child/main.tf (about) 1 module "grandchild" { 2 source = "./grandchild" 3 } 4 5 resource "aws_instance" "bar" { 6 grandchildid = "${module.grandchild.id}" 7 } 8 9 output "id" { value = "${aws_instance.bar.id}" } 10 output "grandchild_id" { value = "${module.grandchild.id}" }