terraform/config/module
James Bardin 283d88551a Add a new module storage manifest
To add registry support, a workaround in the local module storage was
added to record the subdirectory containing the module source from
within the archive file. Here we replace that temporary implementation
with the full manifest needed to record the necessary module metadata
for module loading.

In order to support versioned modules, the actual stored version needs
to be recorded. This can't be derived from the configuration, because
the configuration only contains the constraints, and at load time we need
to be able to enumerate the stored modules and all versions in order to
resolve them.

While the local storage key will be derived from the source and version,
that information is lost once it's hashed. While the entire storage
layer could be replaced to encode the needed data in the path itself,
this provides a minimal change to work with the existing storage code.
2017-10-27 09:08:15 -04:00
..
test-fixtures missing test-fixture files 2017-10-27 09:08:15 -04:00
copy_dir.go Add proper build constraints for GH-7273 2016-06-23 08:02:32 -04:00
get.go surface registry errors to the user 2017-10-27 09:08:15 -04:00
get_test.go surface registry errors to the user 2017-10-27 09:08:15 -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 implement provider inheritence during loading 2017-10-27 09:08:15 -04:00
module_test.go record the subdirectory in the FolderStorage 2017-09-22 22:03:38 -04:00
storage.go Add a new module storage manifest 2017-10-27 09:08:15 -04:00
testing.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
tree.go Add a new module storage manifest 2017-10-27 09:08:15 -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 Add a new module storage manifest 2017-10-27 09:08:15 -04:00
validate_provider_alias.go config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00