Unable to spin DO kubernetes using Pulumi

Following this repository:

Following is the latest dependencies:

    "dependencies": {
        "@pulumi/digitalocean": "^4.15.2",
        "@pulumi/kubernetes": "^3.21.2",
        "@pulumi/kubernetesx": "^0.1.5",
        "@pulumi/pulumi": "^3.0.0"

Digital Ocean Token is already set in the configuration using:

pulumi config set digitalocean:token <TOKEN> --secret

The token is working fine with Terraform code and can spin the kube cluster, however with pulumi its throwing error as:

  digitalocean:index:KubernetesCluster (do-cluster):
    error: could not validate provider configuration: 6 errors occurred:
        * Invalid or unknown key
        * Invalid or unknown key
        * Invalid or unknown key
        * Invalid or unknown key
        * Invalid or unknown key
        * Invalid or unknown key
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Based on the debug message, what I could suggest is trying to generate a new access token via your DigitalOcean account, and then give this another try.

Also, can you share your Pulumi.yaml file here? It sounds like that this might also be a configuration problem.



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up