terraform: support var descriptions

This commit is contained in:
Mitchell Hashimoto 2014-09-29 14:05:10 -07:00
parent a7c321a028
commit d927c6e1f6
1 changed files with 3 additions and 2 deletions

View File

@ -166,8 +166,9 @@ func (c *Context) Input() error {
for {
var err error
value, err = c.uiInput.Input(&InputOpts{
Id: fmt.Sprintf("var.%s", n),
Query: fmt.Sprintf("var.%s", n),
Id: fmt.Sprintf("var.%s", n),
Query: fmt.Sprintf("var.%s", n),
Description: v.Description,
})
if err != nil {
return fmt.Errorf(