opentofu/configs/configload
Martin Atkins 7feef98517 configs/configload: installation of local modules
Enough of the InstallModules method to install local modules (those with
relative paths). "Install" is actually a bit of an exaggeration for these
since we actually just record them in our manifest after verifying that
the source directory exists.

This is a change of behavior relative to the old module installer since
we no longer create a symlink to the module directory inside the
.terraform/modules directory. Instead, we record the module's true
location in our manifest so that the loader will find it later.

The use of a symlink here predated the manifest file. Now that we have a
manifest file the symlinks are redundant. Using the "natural" location of
the module leads to more helpful error messages, since we'll refer to
the module path as the user expects it, rather than to an internal alias.
2018-02-15 15:56:38 -08:00
..
test-fixtures configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
doc.go configs/configload: package for loading configurations 2018-02-15 15:56:38 -08:00
loader_install_hooks.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
loader_install_test.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
loader_install.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
loader_load_test.go configs/configload: package for loading configurations 2018-02-15 15:56:38 -08:00
loader_load.go configs/configload: package for loading configurations 2018-02-15 15:56:38 -08:00
loader_test.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
loader.go configs/configload: package for loading configurations 2018-02-15 15:56:38 -08:00
module_manifest.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00
module_mgr.go configs/configload: package for loading configurations 2018-02-15 15:56:38 -08:00
source_addr.go configs/configload: installation of local modules 2018-02-15 15:56:38 -08:00