explicitly create legacy-style provider
This commit is contained in:
parent
86e450a85f
commit
f8a23da480
|
@ -517,7 +517,7 @@ func (c *InitCommand) getProviders(earlyConfig *earlyconfig.Config, state *state
|
||||||
}
|
}
|
||||||
|
|
||||||
for provider, reqd := range missing {
|
for provider, reqd := range missing {
|
||||||
pty := addrs.Provider{Type: provider}
|
pty := addrs.NewLegacyProvider(provider)
|
||||||
_, providerDiags, err := c.providerInstaller.Get(pty, reqd.Versions)
|
_, providerDiags, err := c.providerInstaller.Get(pty, reqd.Versions)
|
||||||
diags = diags.Append(providerDiags)
|
diags = diags.Append(providerDiags)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue