Skip to content

/var/runtime/bootstrap: Permission Denied #2

Open
@mattBrzezinski

Description

@mattBrzezinski

I was attempting to modify this repo for an internal project, and ran into this issue. I then decided to just build and push up master here. When I attempt to test run the Lambda function on AWS I get the error:

START RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05 Version: $LATEST
/lambda-entrypoint.sh: line 14: /var/runtime/bootstrap: Permission denied
/lambda-entrypoint.sh: line 14: exec: /var/runtime/bootstrap: cannot execute: Permission denied
END RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05
REPORT RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05	Duration: 2.50 ms	Billed Duration: 3 ms	Memory Size: 4096 MB	Max Memory Used: 7 MB	
RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05 Error: Runtime exited with error: exit status 126
Runtime.ExitError

I've tried to do a chmod +x bootstrap after this in the Dockerfile. Same result 😕.

It seems that creating this bootstrap file which does a cd /var/task and runs you script is the correct thing to do according to the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions