cdk-eks-blueprints
cdk-eks-blueprints copied to clipboard
Cluster: Delete cluster fails with exception "Package @aws-sdk/client-eks does not exist."
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
affects e2e failures in #996 and #991
Fixed with #998