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

Bug: Breaking change on sam 1.110 with NodeJs14 #6731

Closed
atresca-globant opened this issue Feb 22, 2024 · 3 comments
Closed

Bug: Breaking change on sam 1.110 with NodeJs14 #6731

atresca-globant opened this issue Feb 22, 2024 · 3 comments
Labels
blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days

Comments

@atresca-globant
Copy link

Description:

Our Codebuild started failing 3 hours ago with the new sam version 1.110. Was working fine with version 1.109. we will migrate to Node20 but we are not there yet.

Throws this error:

Error: 'nodejs14.x' does not have a supported builder

314 | Traceback:
315 | File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1078, in main

image

Steps to reproduce:

Observed result:

Expected result:

Run the sam build correctly with Nodejs 14

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: Linux
  2. sam --version: 1.110
  3. AWS region: us-east-1b
# Paste the output of `sam --info` here

Add --debug flag to command you are running

@atresca-globant atresca-globant added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Feb 22, 2024
@lucashuy
Copy link
Contributor

Hi, Lambda no longer supports updates to Node.js 14 based functions (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy), which is why SAM CLI has removed support for this runtime with this latest version. While this is technically a breaking change, this is following the guidance from Lambda and migrating to a newer supported runtime should be the path forward.

@lucashuy lucashuy added blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Feb 22, 2024
@hnnasit
Copy link
Contributor

hnnasit commented Mar 6, 2024

Closing this issue as this is expected behavior due to runtime deprecation.

@hnnasit hnnasit closed this as completed Mar 6, 2024
Copy link
Contributor

github-actions bot commented Mar 6, 2024

⚠️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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days
Projects
None yet
Development

No branches or pull requests

3 participants