github.com/LorbusChris/terraform@v0.11.12-beta1/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  }