Skip to content

Commit

Permalink
config: clarify unknown variable error [hashicorpGH-1480]
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh authored and sarahhodne committed Apr 14, 2015
1 parent 163eaef commit d73903f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit d73903f

Please sign in to comment.