diff --git a/command/console.go b/command/console.go index 7d366fb2dedb..08c85d62f0d7 100644 --- a/command/console.go +++ b/command/console.go @@ -40,6 +40,12 @@ func (c *ConsoleCommand) Run(args []string) int { return 1 } + // Check for user-supplied plugin path + if c.pluginPath, err = c.loadPluginPath(); err != nil { + c.Ui.Error(fmt.Sprintf("Error loading plugin path: %s", err)) + return 1 + } + var diags tfdiags.Diagnostics backendConfig, backendDiags := c.loadBackendConfig(configPath)