github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/terraform/test-fixtures/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 }