Hi guys, out of nowhere, and without changing a th...
# general
c
Hi guys, out of nowhere, and without changing a thing, Pulumi wants to replace my entire Kubernetes cluster:
Copy code
digitalocean:index:KubernetesCluster (<redacted>):
    error: unable to replace resource "urn:pulumi:main::<redacted>::digitalocean:index/kubernetesCluster:KubernetesCluster::<redacted>"
    as it is currently marked for protection. To unprotect the resource, remove the `protect` flag from the resource in your Pulumi program and run `pulumi up`
I have ran
pulumi refresh
but still no luck. I'm the only developer and I have not modified anything in the Pulumi state or DigitalOcean UI. I would appreciate some guidance on how to fix this, thank you very much 🙏
More erorr logs:
Copy code
pulumi:pulumi:Stack (<redacted>-main):
    failed to deliver log message.
    error: Error: Channel has been shut down
    original message: Running program '/Users/bumblebee/development/<redacted>/deploy/pulumi/common/index.ts' failed with an unhandled exception:
    <ref *1> Error: Channel has been shut down
        at InternalChannel.createCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/internal-channel.ts:864:13)
        at ChannelImplementation.createCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/channel.ts:166:33)
        at getCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:349:24)
        at getBottomInterceptingCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:480:16)
        at /Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:574:7
        at getInterceptingCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:576:10)
        at ServiceClientImpl.makeUnaryRequest (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client.ts:312:64)
        at ServiceClientImpl.registerResource (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/make-client.ts:189:15)
        at /Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@pulumi/runtime/resource.ts:623:41
        at new Promise (<anonymous>) {
      promise: Promise { <rejected> [Circular *1] }
    }
     message severity: error
    failed to deliver log message.
    error: Error: Channel has been shut down
    original message: Running program '/Users/bumblebee/development/<redacted>/deploy/pulumi/common/index.ts' failed with an unhandled exception:
    <ref *1> Error: Channel has been shut down
        at InternalChannel.createCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/internal-channel.ts:864:13)
        at ChannelImplementation.createCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/channel.ts:166:33)
        at getCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:349:24)
        at getBottomInterceptingCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:480:16)
        at /Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:574:7
        at getInterceptingCall (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client-interceptors.ts:576:10)
        at ServiceClientImpl.makeUnaryRequest (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/client.ts:312:64)
        at ServiceClientImpl.registerResource (/Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@grpc/grpc-js/src/make-client.ts:189:15)
        at /Users/bumblebee/development/<redacted>/deploy/pulumi/common/node_modules/@pulumi/runtime/resource.ts:623:41
        at new Promise (<anonymous>) {
      promise: Promise { <rejected> [Circular *1] }
    }
     message severity: error
Nevermind, it was a conflicting issue with the K8S version, solved by setting the most up to date one in the code!
🎉 4