When pulumi convert --from terraform runs into a provider it needs that is not available in the Pulumi Registry, it returns an error like:
Converting from terraform...
warning: failed to install provider "helm": could not find latest version for provider helm: 401 HTTP error fetching plugin from https://api.github.com/repos/pulumi/pulumi-helm/releases/latest
Now that we have support for Any Terraform Provider, the convert command could choose to do one of the following when it fails to find a provider it needs:
At least - include a note on running pulumi package add terraform ... to the warning - so that users can easily discover how to handle this wwarning.
Ideally - run this command automatically as a sub-step of the pulumi convert, that results in generating the local SDKs for the dependencies that are not available as part of the generated project.
When
pulumi convert --from terraform
runs into a provider it needs that is not available in the Pulumi Registry, it returns an error like:Now that we have support for Any Terraform Provider, the
convert
command could choose to do one of the following when it fails to find a provider it needs:pulumi package add terraform ...
to the warning - so that users can easily discover how to handle this wwarning.pulumi convert
, that results in generating the local SDKs for the dependencies that are not available as part of the generated project.