github.com/hugorut/terraform@v1.1.3/src/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  }