Lambda functions that have external libraries as dependencies can be packaged as deployment packages and be uploaded into the AWS Lambda console. This is very similar to creating a virtual environment in Python. So in this section, we shall learn and understand the process of creating Python deployment for using in the Lambda functions. We shall try and understand the process of creating deployment packages in detail, as follows:
- Deployment packages are generally in the format of ZIP packages. The contents of the ZIP package is exactly the same as a normal library of any programming language.
- The package structure should be such that the library folders and the function file are in the same destination or in ...