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: Impose a 127 character limit on the Lambda function handler when the package type is set to zip #1812

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

96malhar
Copy link
Contributor

@96malhar 96malhar commented Sep 19, 2024

Issue #, if available:

Description of changes:
This PR imposes a 127 character limit on the Lambda function handler when the package type is set to zip.
The official AWS docs state a 128 character limit on the Lambda handler. However, there is an open issue where the last character is stripped off when the handler is exactly 128 characters long. Hence, we are enforcing a 127 character limit.

Note: The character limit does not apply when the package type is set to Image. As part of our integration tests, we have several Lambda functions with the handler names exceeding 127 characters and are deployed sucessfully with an Image based deployment. Example 1 and Example 2

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@96malhar 96malhar requested review from normj and philasmar September 19, 2024 20:13
Copy link
Contributor

@philasmar philasmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, assuming you address Norm's comment.

@96malhar 96malhar requested a review from normj September 20, 2024 16:49
@96malhar 96malhar merged commit 63152f3 into dev Sep 23, 2024
4 checks passed
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.

3 participants