Skip to content

Lambda fails with an error "Error: fork/exec /var/task/bootstrap: no such file or directory" #1

@YanaValchokTR

Description

@YanaValchokTR

I tried bootstraping your example with cloning the complete example and deploying it into AWS. On every invocation lambda fails with the same error:

Error: fork/exec /var/task/bootstrap: no such file or directory Runtime.InvalidEntrypoint

I checked a zip archive with code (which is used be lambda function) and bootstrap file is inside the zip file.

How To Reproduce the Issue
I don't have any particular instruction, I simply took the complete example, followed instructions about building a native image and then deployed a builded zip-file.

I wonder if it's even possible to deploy Micronaut Serverless function with native image or is the feature broken. I tried to deploy you Micronaut Application with native image (following this guide) and it worked fine to me.

Thanks in advance for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions