From 3c429b362884ddce93ba9bd1b3a436845c2be790 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 2 Jun 2017 16:49:08 -0700 Subject: [PATCH] command init: show log output for each provider plugin downloaded Each provider plugin will take at least a few seconds to download, so providing feedback about each one should make users feel less like Terraform has hung. Ideally we'd show ongoing progress during the download, but that's not possible without re-working go-getter, so we'll accept this as an interim solution for now. --- command/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/init.go b/command/init.go index 685083a7eb..caea035333 100644 --- a/command/init.go +++ b/command/init.go @@ -228,6 +228,7 @@ func (c *InitCommand) getProviders(path string, state *terraform.State) error { dst := c.pluginDir() for provider, reqd := range missing { + c.Ui.Output(fmt.Sprintf("- downloading plugin for provider %q...", provider)) err := c.getProvider(dst, provider, reqd.Versions, plugin.Handshake.ProtocolVersion) // TODO: return all errors if err != nil {