diff --git a/doc_source/python-package.md b/doc_source/python-package.md index d042952c..f3aa695c 100644 --- a/doc_source/python-package.md +++ b/doc_source/python-package.md @@ -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 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\. @@ -204,4 +207,4 @@ A library may appear in `site-packages` or `dist-packages` and the first folder "RevisionId": "5afdc7dc-2fcb-4ca8-8f24-947939ca707f", ... } - ``` \ No newline at end of file + ```