github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/graph-builder-apply-target-module/main.tf (about)

     1  resource "test_object" "foo" {}
     2  
     3  module "child1" {
     4    source      = "./child1"
     5    instance_id = "${test_object.foo.id}"
     6  }
     7  
     8  module "child2" {
     9    source = "./child2"
    10  }