aws-quickstart / cdk-eks-blueprints

AWS Quick Start Team
Apache License 2.0
424 stars 188 forks source link

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

Closed shapirov103 closed 3 weeks ago

shapirov103 commented 1 month ago

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 commented 1 month ago

affects e2e failures in #996 and #991

shapirov103 commented 3 weeks ago

Fixed with #998