Skip to content

Commit 4f29b53

Browse files
authored
Merge pull request #239 from hi2meuk/patch-2
Update python-package.md
2 parents 381eb29 + 5e56ef5 commit 4f29b53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc_source/python-package.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ To create or update a function with the Lambda API, create a deployment package
6262
}
6363
```
6464

65+
**Note**
66+
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).
67+
6568
## Updating a function with additional dependencies<a name="python-package-dependencies"></a>
6669

6770
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
204207
"RevisionId": "5afdc7dc-2fcb-4ca8-8f24-947939ca707f",
205208
...
206209
}
207-
```
210+
```

0 commit comments

Comments
 (0)