Category "aws-lambda"

AWS other modules cant be imported as soon as psycopg2 module is installed

I have installed some python libraries ands added them to a layer of a function. I have got the error which said "errorMessage": "No module named 'psycopg2'" So

Is it possible to call Azure Queue from AWS Lambda

My requirement is to send data received in Lambda from DynamoDB to Azure Queue in node.js. Steps taken - AWS Side 1. Created DDB Table 2. Added Stream and

AWS SAM ScheduledEvent error: "Parameter ScheduleExpression is not valid"

I'm trying to setup an EventBridge Scheduled Event for my Lambda Function using the SAM CLI. My desired cron expression is: cron(0 0 * * ? *) My template.yml f

AWS Event Bridge Lambda invocation

I have configured a lambda function as EventBridge rule target and I have configured a Dead Letter Queue on the EventBridge rule to capture exceptions. Now, if

sending emails through lambda at different time

I am trying to build a newsletter service. In the newsletter service, a user can decide at what time he/she should receive the email daily. I am trying to achie

Cannot import name 'cygrpc' from 'grpc._cython' - Google Ads API

I want to deploy working python project in pycharm to aws lambda. The project is using google-ads library to get some report data from google ads. I tried deplo

How to update multiple Lambda functions from python 2.7 to 3.6

I have approximately 13 Lambda functions with triggers on python 2.7 runtime environments. I need to update to 3.6 What is the most efficient way to do this? Do

Calling one intent from another intent in AWS Lex and Lambda

Hi I am trying to call one intent on fullfillment of another intent. I trying to use 2 approached i.e. confirm_intent and elicite_slot. But i am getting "An err

Why is my AWS Lambda function ending before finishing with no timeout message?

I've been using AWS Lambda and testing with SAM local for nearly a year with no major issues. However, I've written a Lambda function which modifies some files

Unzipped size must be smaller than 262144000 bytes - AWS Lambda Error

I have tried to upload my application using servless/lambda function AWS, but i got this issue: An error occurred: AppLambdaFunction - Unzipped size must be

How to use tensorflow 2.0 with AWS Lambda?

I am new to AWS Lambda and running a tensorflow model in AWS Lambda. Now tensorflow 1.0.0 is the one that fits into the 50Mb limit but since tensorflow 2.0 is

System.Drawing.Common on aws lambda

I have a .net 6 code inside lambda function. Simple case where input string transforms to upper case is ok (everything works). When I introduce System.Drawing i

"ERROR: Command errored out with exit status 1: " during pip install -r requirements.txt

I got this error in code build in Installation , COMMAND_EXECUTION_ERROR: Error while executing command: pip install -r requirements.txt -t lib. Reason: exit st

Cannot start lambda with Mock Lambda Test Tool

I've been working with AWS lambdas for a few months. I was working with a lambda and it was fine at the end of the day. I came back to work on it the next day,

I keep getting "Error: npm.cmd ls -prod -json -depth=1 failed with code 1" when trying to deploy AWS lambda serverless

Below is my terminal output. Is there something missing in my environment or is there a conflict with node versions? I'm using node v.10 but the repo is using n

Could not create aws sqs queue for multiple environment?

The yml file in aws sqs has Resources: MyQueue: Type: AWS::SQS::Queue Properties: QueueName:"mytestqueue" how to handle the MYQueue when creat

Pass object instance through lambda invoke function in python

I have multiple Lambda functions. I am calling another Lambda function from the first Lambda function using Lambda invoke in python. I have an object instance o

aws lambda: How to fix 'geckodriver' executable needs to be in PATH"

So I am trying to use firefox in aws lambda runtime Python3.6 I have added my dependencies using layers in this order: selenium3.14, geckodriver25 and firefox

Lambda function not exiting

I am using the serverless framework to create a lambda function. I am running into an issue where the function won't exit when I invoke it locally. I am not sur

Routing in a lambda function without API Gateway

I have an express app and is deployed via serverless. My stack is just a lambda function + API Gateway. That works and it's accessible on Postman or httpxmlrequ