github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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}" }