Closed delenamalan closed 10 months ago
How are you deploying the application?
The error you are seeing typically relates not to the build method parameter but instead the binary path.
Kind regards
Chris
On 15 Jan 2024, at 14:38, Delena Malan @.***> wrote:
Issue #, if available: N/A.
We were getting this error when trying to run the Lambda function:
Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap] Runtime.InvalidEntrypoint
Description of changes:
Add the Metadata.BuildMethod property to the Lamdba function as described here https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-custom-runtimes.html .
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
You can view, comment on, or merge this pull request online at:
https://github.com/awslabs/ssosync/pull/165 https://github.com/awslabs/ssosync/pull/165
Commit Summary
File Changes
(1 file https://github.com/awslabs/ssosync/pull/165/files )
Patch Links:
— Reply to this email directly, view it on GitHub https://github.com/awslabs/ssosync/pull/165 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVULYPSS3MPC27OGM3SIDDYOU5PDAVCNFSM6AAAAABB3MHBRGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DEMJWGY4TCMQ . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ABVULYO63VLCTLXD2E6HLNLYOU5PDA5CNFSM6AAAAABB3MHBRGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHYG2YQA.gif Message ID: @.***>
@ChrisPates thank you for your response. We're AWS SAM + the Makefile.
I see now that the deploy also works without the BuildMethod
. We previously had the order of our SAM commands mixed up.
Why does it work without the BuildMethod
though? Does it default to makefile
?
Issue #, if available: N/A.
We were getting this error when trying to run the Lambda function:
Description of changes:
Add the
Metadata.BuildMethod
property to the Lamdba function as described here.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.