aws-lambda-layers

Unable to use Python's Paramiko library in AWS Lambda Function

Unable to use Python's Paramiko library in AWS Lambda Function Question: I have uploaded Paramiko library as a layer in the Lambda function. However, still when I am attempting to import the same, it is giving me the following error: Response { "errorMessage": "Unable to import module ‘lambda_function’: No module named ‘paramiko’", "errorType": "Runtime.ImportModuleError", "requestId": …

Total answers: 1

Can a aws lambda be broken into two different layers which has common code?

Can a aws lambda be broken into two different layers which has common code? Question: I have a lambda functions which share common code. I am trying to remove the shared code into a layer but the size is greater than preferred limit. Is it possible to break a layer within two while keeping the …

Total answers: 1

Error in sending Python API request from AWS Lambda python function

Error in sending Python API request from AWS Lambda python function Question: I am trying send a POST request from AWS python lambda function but getting following error while sending: [ERROR] ConnectionError: HTTPConnectionPool(host= ********************s3-website.ap-south-1.amazonaws.com’, port=80): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f69fdfbda90>: Failed to establish a new connection: [Errno 110] …

Total answers: 1