-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Consume esbuild function metadata and pass to lambda builders #3613
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
feat: Consume esbuild function metadata and pass to lambda builders #3613
Conversation
…/aws-sam-cli into read-esbuild-function-metadata
hawflau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, approved with one minor question
| return cdk_resource_id | ||
|
|
||
| @staticmethod | ||
| def normalize_build_properties(build_props) -> Dict: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question - is Lambda Builder expecting snake case for build properties in general and not only esbuild?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BuildProperties is a new field, but everything else we send lambda builders is snake case so I wanted to keep it consistent.
…ws#3613) * Consume esbuild function metadata and pass to lambda builders * Convert lambda builders options to snake case for consistency * Determine entry point from handler * Remove comment * Remove commented code
Checklist
make prpassesmake update-reproducible-reqsif dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.