terraform/config/module
James Bardin f6e89bb8c3 record the subdirectory in the FolderStorage
Module detection currently requires calling the registry to determine
the subdirectory. Since we're not directly accessing the subdirectory
through FolderStorage, and now handling it within terraform so modules can
reference sibling paths, we need to call out to the registry every
time we load a configuration to verify the subdirectory for the module,
which is returned during the Detect.

Record the subdirectories for each module in the top-level of the
FolderStorage path for retrieval during Tree.Load. This lets us bypass
Detection altogether, modules can be loaded without redetecting.
2017-09-22 22:03:38 -04:00
..
test-fixtures handle go-getter subdirs in Tree.Load 2017-09-22 20:32:44 -04:00
copy_dir.go Add proper build constraints for GH-7273 2016-06-23 08:02:32 -04:00
get.go move local module detection ahead of the registry 2017-09-15 16:16:28 -04:00
get_test.go handle go-getter subdirs in Tree.Load 2017-09-22 20:32:44 -04:00
inode.go Fixed broken build for netbsd 2017-02-22 00:30:18 +08:00
inode_freebsd.go build: Opt-in to building rather than opt-out 2016-07-29 18:40:31 -05:00
inode_windows.go build: Opt-in to building rather than opt-out 2016-07-29 18:40:31 -05:00
module.go config/module: can load a tree properly 2014-09-14 20:00:17 -07:00
module_test.go record the subdirectory in the FolderStorage 2017-09-22 22:03:38 -04:00
testing.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
tree.go record the subdirectory in the FolderStorage 2017-09-22 22:03:38 -04:00
tree_gob.go config/module: store the path with the module 2015-04-07 16:37:46 -07:00
tree_gob_test.go terraform: Plan should use module.Tree 2014-09-24 14:56:48 -07:00
tree_test.go record the subdirectory in the FolderStorage 2017-09-22 22:03:38 -04:00
validate_provider_alias.go config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00