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