early-student-54751
02/26/2024, 5:50 AMpulumi import 'digitalocean:index/kubernetesCluster:KubernetesCluster' my_cluster xxxxx-xxx-xxx
I’ve already tried to import it to the custom recourse by:
pulumi import 'custom:mycode:Kubernetes$digitalocean:index/kubernetesCluster:KubernetesCluster' my_cluster xxxxx-xxx-xxx
but it says:
error: preview failed: failed to validate provider config: could not find latest version for provider custom: 404 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-custom/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>
I understand why it shows this, but don’t understand how to fix that.
can you suggest?early-student-54751
02/26/2024, 8:05 AM