cdk-eks-blueprints icon indicating copy to clipboard operation
cdk-eks-blueprints copied to clipboard

Cluster: Delete cluster fails with exception "Package @aws-sdk/client-eks does not exist."

Open shapirov103 opened this issue 1 year ago • 1 comments

Describe the bug

Attempting to delete a cluster with control planes logging enable causes the exception that then requires manual intervention to remove the cluster.

Expected Behavior

cdk destroy <stack> command should succeed.

Current Behavior

Fails with Package @aws-sdk/client-eks does not exist. Cluster is in "DELETE FAILED" state and requires manual removal.

Reproduction Steps

Run any blueprint in 1.14.1 with control plane logs enabled.

Possible Solution

Fix the custom resource that controls control plane logs or refactor the implementation to use native CDK support for this.

Additional Information/Context

No response

CDK CLI Version

2.133

EKS Blueprints Version

No response

Node.js Version

20.10

Environment details (OS name and version, etc.)

Mac

Other information

No response

shapirov103 avatar May 02 '24 15:05 shapirov103

affects e2e failures in #996 and #991

shapirov103 avatar May 02 '24 15:05 shapirov103

Fixed with #998

shapirov103 avatar May 08 '24 14:05 shapirov103