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