chore: Adjust server-less tooling for the new AWS Lambda "provided" run-times#3852
chore: Adjust server-less tooling for the new AWS Lambda "provided" run-times#3852mapno merged 8 commits intografana:mainfrom
Conversation
mapno
left a comment
There was a problem hiding this comment.
LGMT. Can you add a changelog entry specifying what's being deprecated? Thanks!
Thank you, and sorry for the late response. I've added a changelog entry. Please let me know if any further adjustments are needed. |
|
This PR has been automatically marked as stale because it has not had any activity in the past 60 days. |
mapno
left a comment
There was a problem hiding this comment.
I'd like to be a bit more explicit with the migration.
Co-authored-by: Mario <mariorvinas@gmail.com>
I agree, it is better to be more explicit here. |
|
@mapno Can we get an update on this? |
|
LGTM, thanks for the contribution |
…un-times (#3852) * chore: compatibility with AWS lambda new runtime * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Mario <mariorvinas@gmail.com> * doc: remove additional newline --------- Co-authored-by: Mario <mariorvinas@gmail.com>
What this PR does:
The "old"
go1.xruntime is being deprecated.Changes the CMD server-less build tooling to be compatible with the "new" AWS lambda run-times by default.
The "new" GoLang compatible AWS Lambda run-times expect an executable with the name
bootstrapto be provided.The
handlerconfiguration is ignored when using the "new" runtime.See https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/ for more info.
Checklist
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]