1

I created two separate Lambda layers by adding cx_Oracle_lambda_layer.zip and Oracle_Instant_client_lambda_layer.zip from this github solution.

After using those Lambda layers, in the Lambda function, I can import cx_Oracle successfully, but getting the following error while creating a connection to an Oracle DB.

Image of error

The same works successfully from a Windows machine and I can fetch and push data, but facing this problem in AWS Lambda.

I am okay to create a deployment package for the same if that is an easy way out, but after going through a couple of SO Q/As I found it a little difficult to figure out the exact steps.

Went through this SO Q and A written by the same person for building a deployment package but I am not very clear of few steps in between.

Any help shall be greatly acknowledged.

Aakash Basu
  • 1,689
  • 7
  • 28
  • 57

0 Answers0