diff --git a/libs/template/config.go b/libs/template/config.go index a54d394d..85fa2265 100644 --- a/libs/template/config.go +++ b/libs/template/config.go @@ -213,7 +213,7 @@ func (c *config) promptForValues(r *renderer) error { // terminal is not TTY func (c *config) promptOrAssignDefaultValues(r *renderer) error { // TODO: replace with IsPromptSupported call (requires fixing TestAccBundleInitErrorOnUnknownFields test) - if cmdio.IsOutTTY(c.ctx) && cmdio.IsInTTY(c.ctx) { + if cmdio.IsOutTTY(c.ctx) && cmdio.IsInTTY(c.ctx) && !cmdio.IsGitBash(c.ctx) { return c.promptForValues(r) } return c.assignDefaultValues(r)