terraform: support var descriptions
This commit is contained in:
parent
a7c321a028
commit
d927c6e1f6
|
@ -166,8 +166,9 @@ func (c *Context) Input() error {
|
||||||
for {
|
for {
|
||||||
var err error
|
var err error
|
||||||
value, err = c.uiInput.Input(&InputOpts{
|
value, err = c.uiInput.Input(&InputOpts{
|
||||||
Id: fmt.Sprintf("var.%s", n),
|
Id: fmt.Sprintf("var.%s", n),
|
||||||
Query: fmt.Sprintf("var.%s", n),
|
Query: fmt.Sprintf("var.%s", n),
|
||||||
|
Description: v.Description,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
|
Loading…
Reference in New Issue