Getting a pretty unhelpful error while testing add...
# general
b
Getting a pretty unhelpful error while testing adding a couple eks clusters to my test pulumi config with a few protected resources and trying to run `pulumi down --exclude-protected`:
Copy code
Previewing destroy (testing)

View in Browser (Ctrl+O): <https://app.pulumi.com/prophet/infra/testing/previews/xyz>

     Type                 Name           Plan     Info
     pulumi:pulumi:Stack  infra-testing           1 error

Diagnostics:
  pulumi:pulumi:Stack (infra-testing):
    error: rpc error: code = Canceled desc = grpc: the client connection is closing
I saw this issue and it sounds like the only workaround is to manually destroy the individual dependencies that are causing the breakage with
--target
, but it's unclear to me how you determine which states are the problematic one as the error gives no details even with
--verbose
. I'm digging through the debug logs now to try to figure something out :(
Found a workaround that will unblock me for now, but it isn't a reasonable solution for other engineers to use -- commenting out the code that creates the EKS clusters then
pulumi up
to destroy them, then I can run
pulumi down --exclude-protected
like normal