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

cli creating lambda with multiple outdated node versions #13831

Closed
2 tasks done
murffious opened this issue Jun 21, 2024 · 3 comments
Closed
2 tasks done

cli creating lambda with multiple outdated node versions #13831

murffious opened this issue Jun 21, 2024 · 3 comments
Labels
pending-triage Issue is pending triage

Comments

@murffious
Copy link

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

18.18

Amplify CLI Version

12.12.3

What operating system are you using?

Mac

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

in the cloud formation template files I simply used IDE find and replace all to nodejs18.x and it pushed up to the cloud deploying fine.

find and replace
nodejs14.x
nodejs12.x

Describe the bug

I used the amplify cli create various lambdas for auth, api and db triggers. During amplify push many lambda role and other lambda create errors were thrown. I found that the versions were out of date. I found various outdated versions
nodejs14.x
nodejs12.x
in the cloud formation template files.
I simply used IDE find and replace all to nodejs18.x and it pushed up to the cloud deploying fine.

Someone should fix those. super fast.

Expected behavior

up to date CLI commands generate templates that have up to date lambda configuration

Reproduction steps

use cli to create a fresh amplify project
amplify add api
follow cli prompts to add dynamo, api, auth, triggers with various lambdas
deploy with push

Project Identifier

Project Identifier: d0bb465e41618d37d9d35162d00429a6

running amplify --version 12.12.3. on Mac OS 14.6 Beta (23G5052d) - using nvm node v18.18.0

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@murffious murffious added the pending-triage Issue is pending triage label Jun 21, 2024
@murffious
Copy link
Author

I would be happy to take this issue

@ykethan
Copy link
Member

ykethan commented Jun 27, 2024

Hey @murffious, this is currently being tracked on #10894
with the upgrade path documented on
https://docs.amplify.aws/gen1/react/build-a-backend/functions/configure-options/#updating-the-runtime
#10894 (comment)

Closing this as duplicate

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

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

No branches or pull requests

2 participants