Skip to content
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

(lambda): (CDK lambdas still using node16) #26654

Closed
Mahdi-Malekan opened this issue Aug 7, 2023 · 3 comments
Closed

(lambda): (CDK lambdas still using node16) #26654

Mahdi-Malekan opened this issue Aug 7, 2023 · 3 comments
Labels
@aws-cdk/aws-lambda Related to AWS Lambda bug This issue is a bug.

Comments

@Mahdi-Malekan
Copy link

Describe the bug

Since https://github.com/aws/aws-cdk/releases/tag/v2.87.0 CDK lambda runtime should be using node 18 runtime.

We are seeing some runtimes still using node 16 e.g. EC2 VPC restrictDefaultSecurityGroup lambda. (there might be more)
https://github.com/aws/aws-cdk/blob/v2-release/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts#L1703
image

Expected Behavior

Node 18 runtime should be used in all CDK generated lambdas

Current Behavior

Node 16 is being used in some CDK generated lambdas

Reproduction Steps

This is autogenerated by CDK

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.89

Framework Version

No response

Node.js Version

16

OS

Windows

Language

Typescript

Language Version

No response

Other information

No response

@Mahdi-Malekan Mahdi-Malekan added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Aug 7, 2023
@github-actions github-actions bot added the @aws-cdk/aws-lambda Related to AWS Lambda label Aug 7, 2023
@peterwoodworth
Copy link
Contributor

Our latest release closed this issue, please see 2.90.0

@peterwoodworth peterwoodworth removed the needs-triage This issue or PR still needs to be triaged. label Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@Mahdi-Malekan
Copy link
Author

@peterwoodworth Thanks for the reply.
If you please follow the link I've provided, you can see that it's for the latest release (2.90.0) and it hasn't fixed yet.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-lambda Related to AWS Lambda bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants