How to create AWS Lambda deployment package that uses Couchbase Python client
Following two things worked for me:
- Manually copy /usr/lib64/libcouchbase.so.2 into ur project folder and zip it with your code before uploading to AWS Lambda.
- Use Python 2.7 as runtime on the AWS Lambda console to connect to couchbase.
Thanks !