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

Fix Lambda update failure #526

Merged

Conversation

abetomo
Copy link
Contributor

@abetomo abetomo commented May 4, 2020

#525

The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions.

Current Code:

First, update the function code.
At this time, the configuration is still outdated, so the runtime updates it with nodejs.8.10, which results in an error.

Modifications:

Update your settings at the beginning.
This will update the runtime, so the update is expected to succeed.

(Since I can't create any nodejs8.10 functions already, I can't confirm their operation at hand.)

motdotla#525

```
The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions.
```

Current Code:
First, update the function code.
At this time, the configuration is still outdated, so the runtime updates it with nodejs.8.10, which results in an error.

Modifications:
Update your settings at the beginning.
This will update the runtime, so the update is expected to succeed.

Since I can't create any nodejs8.10 functions already, I can't confirm their operation at hand.
@DeviaVir DeviaVir merged commit b7ac051 into motdotla:master May 4, 2020
@abetomo abetomo deleted the feature/fix_lambda_update_failure branch May 4, 2020 23:51
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

Successfully merging this pull request may close these issues.

2 participants