github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/initwd/testdata/load-module-package-prefix/package/child/package-prefix-child.tf (about)

     1  module "grandchild" {
     2    # NOTE: This only works because our caller told Terraform to treat
     3    # the parent directory as a whole as a module package, and so
     4    # the "./terraform/modules/child" directory should contain both
     5    # "child" and "grandchild" sub directories that we can traverse between.
     6    # This is the same as local paths between different directories inside
     7    # a single git repository or distribution archive.
     8    source = "../grandchild"
     9  }