Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Lambda won't run: fix permissions problems when zipping #1

@lusentis

Description

@lusentis

If your files are stored with a mode lower than 0644, AWS Lambda won't execute and will report the errors below.

If you execute the function with the "Test" button from the Lambda console:

{
  "errorMessage": "callback called with Error argument, but there was a problem while retrieving one or more of its message, name, and stack"
}

and, in CloudWatch Logs:
module initialization error: Error

The current workaround is to chmod a+r -Rv . in your project's root folder.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions