kubicorn icon indicating copy to clipboard operation
kubicorn copied to clipboard

Deleting AWS keypair fails with "Unable to delete keypair resource without ID" error

Open mattmoyer opened this issue 6 years ago • 0 comments

I'm using the default aws profile with a one-off SSH keypair name and setting KUBICORN_FORCE_DELETE_KEY=true.

kubicorn apply works fine, but when I kubicorn delete, Kubicorn is able to clean up 99% of the cluster resources but fails to delete the keypair with an error:

2018-04-27T17:33:24Z [✖]  Unable to destroy resources for cluster [mycluster-1234]: Unable to delete keypair resource without ID [mycluster-1234]

When I check my cluster.yaml before deleting, I don't see any reference to the SSH keypair name. Is that expected?

mattmoyer avatar Apr 27 '18 17:04 mattmoyer