Skip to content

Update sam to version 1.130.0 #748

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

Closed
bs-dl1-baichen opened this issue Nov 25, 2024 · 5 comments
Closed

Update sam to version 1.130.0 #748

bs-dl1-baichen opened this issue Nov 25, 2024 · 5 comments

Comments

@bs-dl1-baichen
Copy link

Describe the bug
Node.js 22 has been released on AWS. It requires SAM version 1.130.0. However, the SAM CLI in amazonlinux2-x86_64-standard:5.0 only supports up to version 1.126.0, which causes the Node.js 22 code to fail to compile.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
sam --version
1.130.0+

Logs

Additional context

@mdgm88
Copy link

mdgm88 commented Nov 27, 2024

There is a workaround that you can use in the meantime to update aws-sam-cli, but not ideal as it means extra build time. See one of the comments on:
#662

@bs-dl1-baichen
Copy link
Author

amazonlinux2-x86_64-standard:5.0 has been upgrade sam ver to 1.131.0 ~

@perrin4869
Copy link

I haven't checked the x86_64 image, but the arm image amazonlinux2-aarch64-standard:3.0 is still using 1.126.0...

@mdgm88
Copy link

mdgm88 commented Jan 6, 2025

@perrin4869 can you check again? Unlike last week, I didn't get a log entry about there being a newer version of aws-sam-cli when I did a build of an aarch64 codebuild project today.

@perrin4869
Copy link

oh nice, just checked and it seems to have been updated! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants