explicitly create legacy-style provider

This commit is contained in:
Kristin Laemmert 2019-12-09 15:17:47 -05:00
parent 86e450a85f
commit f8a23da480
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ func (c *InitCommand) getProviders(earlyConfig *earlyconfig.Config, state *state
}
for provider, reqd := range missing {
pty := addrs.Provider{Type: provider}
pty := addrs.NewLegacyProvider(provider)
_, providerDiags, err := c.providerInstaller.Get(pty, reqd.Versions)
diags = diags.Append(providerDiags)