terraform/internal/initwd/testdata/load-module-package-prefix/package/child/package-prefix-child.tf

10 lines
451 B
HCL

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