github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/apply-destroy-module-with-attrs/main.tf (about) 1 resource "aws_instance" "vpc" { } 2 3 module "child" { 4 source = "./child" 5 vpc_id = "${aws_instance.vpc.id}" 6 } 7 8 output "out" { 9 value = "${module.child.modout}" 10 }