github.com/hashicorp/terraform-plugin-sdk@v1.17.2/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  }