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