-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-cdk/lambda-layer-kubectl-v27: Found CDK v1 deps in your project, even though your "cdkVersion" is 2.x. #28628
Comments
According to this the v27 module should depends on cdkVersion 2.28.0 Are you running projen in your current project with your own |
We have this same issue within our internal CDK library as well whenever we are compiling the project, an older version of kubectl layer, but we also did run into the same issue of it complaining about v27, and v28 if those are added as well.
Snippet of our projenrc file with its CDK dependencies:
|
Describe the bug
When using kubectl layers for newer version, CDK complain that the layer still uses CDK V1.
Expected Behavior
CDk should not complain and the lambda layer library should use CDK v2
Current Behavior
CDk should not complain and the lambda layer library seems to use CDK v1.
Reproduction Steps
Create an EKS cluster with L2 module and pass the lambda layer of any EKS after 1.21.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.118.0
Framework Version
No response
Node.js Version
v18.18.0
OS
macOS
Language
TypeScript
Language Version
4.9.4
Other information
No response
The text was updated successfully, but these errors were encountered: