mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
7feef98517
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. |
||
---|---|---|
.. | ||
test-fixtures | ||
doc.go | ||
loader_install_hooks.go | ||
loader_install_test.go | ||
loader_install.go | ||
loader_load_test.go | ||
loader_load.go | ||
loader_test.go | ||
loader.go | ||
module_manifest.go | ||
module_mgr.go | ||
source_addr.go |