aws / aws-lambda-builders

Python library to compile, build & package AWS Lambda functions for several runtimes & framework
Apache License 2.0
329 stars 136 forks source link

fix: Rename provided go binary to bootstrap #621

Closed mildaniel closed 4 months ago

mildaniel commented 4 months ago

Issue #, if available: https://github.com/aws/aws-sam-cli/issues/6635

Description of changes: For provided runtimes, the binary name must be "bootstrap". This causes an issue with the way Lambda builders currently resolves the handler path for Go builds where the handler points to the correct source code location, but the binary is named incorrectly to be consumed by Lambda.

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