Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc_source/python-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ To create or update a function with the Lambda API, create a deployment package
}
```

**Note**
In order for your Python modules can be imported at runtime, ensure the files in the zip produced are globally readable (o+r) and any directories are globally readable (o+x).

## Updating a function with additional dependencies<a name="python-package-dependencies"></a>

If your Lambda function depends on libraries other than the AWS SDK for Python \(Boto3\), install them to a local directory with [pip](https://pypi.org/project/pip/), and include them in your deployment package\.
Expand Down Expand Up @@ -204,4 +207,4 @@ A library may appear in `site-packages` or `dist-packages` and the first folder
"RevisionId": "5afdc7dc-2fcb-4ca8-8f24-947939ca707f",
...
}
```
```