skip to Main Content

Number of deleted messages is twice as many as received messages

I created SQS service with terraform resource "aws_sqs_queue" "ses_queue" { name = "ses_queue" message_retention_seconds = 86400 receive_wait_time_seconds = 1 visibility_timeout_seconds = 15 } resource "aws_lambda_event_source_mapping" "send_email_message" { event_source_arn = aws_sqs_queue.ses_queue.arn function_name = aws_lambda_function.send_email_message.function_name batch_size = 5 } I am sending…

VIEW QUESTION

Layers consume more than the available size of 262144000 bytes when serverless deploy

Error: UPDATE_FAILED: MainLambdaFunction (AWS::Lambda::Function) Resource handler returned message: "Layers consume more than the available size of 262144000 bytes (Service: Lambda, Status Code: 400, Request ID: 77d73bfc-51e1-490a-98b4-fdf8066d225b)" (RequestToken: 98920b07-72f7-ca3d-ec22-e49a5de4101a, HandlerErrorCode: InvalidRequest) i tried to deploy the lambda with docker i faced…

VIEW QUESTION

How is the !Ref function used in an AWS CloudFormation template?

Im tying to follow AWS tutorial for creating lambda function using sam cli It created the following yaml file # This is the SAM template that represents the architecture of your serverless application # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-basics.html # The AWSTemplateFormatVersion identifies the…

VIEW QUESTION

OpenCV – AWS Lambda – /lib64/libz.so.1: version `ZLIB_1.2.9' not found

In Python, trying to run the opencv package in an AWS lambda layer. Using opencv-python-headless but keep getting this error. Response { "errorMessage": "Unable to import module 'lambda_function': /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /opt/python/lib/python3.8/site-packages/cv2/../opencv_python_headless.libs/libpng16-186fce2e.so.16.37.0)", "errorType": "Runtime.ImportModuleError", "stackTrace": []…

VIEW QUESTION
Back To Top
Search