config: clarify unknown variable error [GH-1480]

This commit is contained in:
Mitchell Hashimoto 2015-04-10 16:45:15 -07:00
parent 6761424309
commit 6514bf5f25
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
BUG FIXES:
* core: refresh won't remove outputs from state file [GH-1369]
* core: clarify "unknown variable" error [GH-1480]
* provider/aws: fix panic possibility if RDS DB name is empty [GH-1460]
* provider/aws: fix issue detecting credentials for some resources [GH-1470]
* provider/google: fix issue causing unresolvable diffs when using legacy

View File

@ -207,7 +207,7 @@ func (c *Config) Validate() error {
if _, ok := varMap[uv.Name]; !ok {
errs = append(errs, fmt.Errorf(
"%s: unknown variable referenced: %s",
"%s: unknown variable referenced: '%s'. define it with 'variable' blocks",
source,
uv.Name))
}