Don't show data while input if sensitive

This commit is contained in:
Valeriy Pastushenko
2021-09-03 18:33:10 +03:00
parent 4f10de2ac6
commit 7c7e5d8f0a
2 changed files with 1 additions and 0 deletions

View File

@@ -319,6 +319,7 @@ func (b *Local) interactiveCollectVariables(ctx context.Context, existing map[st
Id: fmt.Sprintf("var.%s", name),
Query: fmt.Sprintf("var.%s", name),
Description: vc.Description,
Secret: vc.Sensitive,
})
if err != nil {
// Since interactive prompts are best-effort, we'll just continue