what a strange error I got using `pulumi import`: ...
# general
p
what a strange error I got using `pulumi import`:
Copy code
error: preview failed: failed to validate provider config: could not find latest version for provider cloudwatch: 404 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-cloudwatch/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
e
import needs a provider to do the data read, and it defaults to trying to lookup an first class provider from pulumi but we don't have a cloudwatch provider so it fails. The private warning is so that users trying to download a private provider get a hint that they might just be missing their github token.