terraform/config/module/test-fixtures
Mitchell Hashimoto 68ee4e0480
config/module: don't panic when referencing undefined module
Fixes #12788

We would panic when referencing an output from an undefined module. The
panic above this is correct but in this case Load will not catch
interpolated variables that _reference_ an unloaded/undefined module.
Test included.
2017-03-16 20:14:20 -07:00
..
basic config: support subdirectories with the "//" syntax 2014-09-26 14:56:04 -07:00
basic-dot config/module: walk actually recurses into dirs, don't copy dot-prefix 2014-10-03 13:46:19 -07:00
basic-git config: support subdirectories with the "//" syntax 2014-09-26 14:56:04 -07:00
basic-hg config/module: hg supports branches/tags/etc. 2014-09-16 10:30:55 -07:00
basic-parent config/module: failing unit test for GH-1232 2015-03-26 09:11:32 -07:00
basic-subdir config: support subdirectories with the "//" syntax 2014-09-26 14:56:04 -07:00
child config/module: Can look up Child with Tree.Child 2014-10-07 20:00:36 -07:00
dup config/module: error if duplicate module 2014-09-15 09:53:29 -07:00
validate-alias-bad config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00
validate-alias-good config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00
validate-bad-output config/module: validate outputs line up with ModuleVariables 2014-09-15 13:57:07 -07:00
validate-bad-output-to-module config: add module raw configs to InterpolatedConfigs [GH-1448] 2015-04-29 17:12:28 -07:00
validate-bad-var config/module: validate that parameters into modules valid 2014-09-15 10:32:41 -07:00
validate-child-bad config/module: Validate 2014-09-15 09:37:40 -07:00
validate-child-good config: validation error when output is missing value field 2016-01-20 14:00:36 -06:00
validate-module-root config/module: disallow root modules named "root" 2017-01-08 15:39:57 -08:00
validate-module-root-grandchild config/module: disallow root modules named "root" 2017-01-08 15:39:57 -08:00
validate-module-unknown config/module: don't panic when referencing undefined module 2017-03-16 20:14:20 -07:00
validate-required-var report all errors from module validation 2017-03-02 15:16:05 -05:00
validate-root-bad config/module: Validate 2014-09-15 09:37:40 -07:00