Mitchell Hashimoto
0c30caec7d
config: smarter provider alias usage validation
...
Fixes #4789
This improves the validation that valid provider aliases are used.
Previously, we required that provider aliases be defined in every module
they're used. This isn't correct because the alias may be used in a
parent module and inherited.
This removes that validation and creates the validation that a provider
alias must be defined in the used module or _any parent_. This allows
inheritance to work properly.
We've always had this type of validation for aliases because we believe
its a good UX tradeoff: typo-ing an alias is really painful, so we
require declaration of alias usage. It may add a small burden to
declare, but since relatively few aliases are used, it improves the
scenario where a user fat-fingers an alias name.
2016-12-16 16:47:32 -08:00
Paul Hinze
87a9701f91
config: validation error when output is missing value field
...
Also lists out invalid keys in errmsg when they are present
Closes #4398
2016-01-20 14:00:36 -06:00
Mitchell Hashimoto
1099e3f59f
config: add module raw configs to InterpolatedConfigs [GH-1448]
2015-04-29 17:12:28 -07:00
Mitchell Hashimoto
bd4aaac71a
config/module: failing unit test for GH-1232
2015-03-26 09:11:32 -07:00
Mitchell Hashimoto
267d45df86
config/module: Can look up Child with Tree.Child
2014-10-07 20:00:36 -07:00
Mitchell Hashimoto
f35ebe7032
config/module: walk actually recurses into dirs, don't copy dot-prefix
2014-10-03 13:46:19 -07:00
Mitchell Hashimoto
7aa30fdf25
config: support subdirectories with the "//" syntax
2014-09-26 14:56:04 -07:00
Mitchell Hashimoto
1ef167602e
config/module: validate that required parameters are passed through
2014-09-24 19:40:06 -07:00
Mitchell Hashimoto
9c74d6b5c0
config/module: hg supports branches/tags/etc.
2014-09-16 10:30:55 -07:00
Mitchell Hashimoto
ac19a488d2
config/module: support branches in git
2014-09-16 10:02:11 -07:00
Mitchell Hashimoto
dcb900470c
config/module: git supports tags
2014-09-16 09:55:51 -07:00
Mitchell Hashimoto
7e94f7d4a9
config/module: Mercurial support
2014-09-16 09:34:23 -07:00
Mitchell Hashimoto
fc71d7091f
config/module: Git test... this is kind of ghetto
2014-09-16 00:03:20 -07:00
Mitchell Hashimoto
96385113e7
config/module: delete weird subproject business
2014-09-15 23:55:07 -07:00
Mitchell Hashimoto
3e2989daf1
config/module: test Git
2014-09-15 23:52:27 -07:00
Mitchell Hashimoto
292f57ea0a
config/module: validate outputs line up with ModuleVariables
2014-09-15 13:57:07 -07:00
Mitchell Hashimoto
12e7c75211
config/module: validate that parameters into modules valid
2014-09-15 10:32:41 -07:00
Mitchell Hashimoto
2419bf79f2
config/module: error if duplicate module
2014-09-15 09:53:29 -07:00
Mitchell Hashimoto
c9fd910c41
config/module: Validate
2014-09-15 09:37:40 -07:00
Mitchell Hashimoto
85d1e40644
config/module: can load a tree properly
2014-09-14 20:00:17 -07:00
Mitchell Hashimoto
799ffbb3ac
config/module: tree.Modules()
2014-09-14 14:46:45 -07:00
Mitchell Hashimoto
bb22090040
config/module: start, lots of initial work
2014-09-13 17:45:56 -07:00