github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/destroy-targeted/main.tf (about) 1 resource "aws_instance" "a" { 2 foo = "bar" 3 } 4 5 module "child" { 6 source = "./child" 7 in = aws_instance.a.id 8 } 9 10 output "out" { 11 value = aws_instance.a.id 12 }