Questions tagged [aws-lambda-containers]
41 questions
0
votes
0 answers
How to see which files a binary in a lambda container is trying open
A question about lambda container images and how to debug them.
The problem: We need to run a legacy binary to process data in a serverless fashion. It is being run in a container image on lambda with a wrapper in nodejs. However, it is crashing…
0
votes
0 answers
How to make AWS Container Image Lambda behave like Lambda with Function URL on my local machine?
I'm creating AWS Lambda using Container Image and while developing it locally, I would like it to behave like it would after deploying.
You could say that I'm closely following this guide:…

ipepe
- 1
- 1
0
votes
0 answers
How can I run a custom docker image with multiple Lambda handlers?
This is my dockerfile. I have also a app.py file with two handlers and I need to be able to run one of them based of a variable or similar. Right now I run only lambda.handler1, but also I want to run lambda.handler2
# Define global args
ARG…

Nahuel Montesino
- 1
- 1
0
votes
1 answer
How to use unmarshal events to AWS defined types in lambda container image for go1.x with provided as base
I use API Gatway to trigger Lambda with proxy integration
I build a lambda container image for Golang from public.ecr.aws/lambda/provided:al2 because of depedency that cannot be installed in public.ecr.aws/lambda/go:latest.
PFB for my Docerfile…

Sab
- 485
- 5
- 17
0
votes
1 answer
How to set docker lambda function name
I deployed a simple python lambda based on the python 3.8 docker image (amazon/aws-lambda-python:3.8)
I can successfully invoke it locally by using curl, like this (returns a 200OK and valid results):
curl -XPOST…

pnadeau
- 427
- 5
- 8
0
votes
1 answer
Lambda - SQS Event: Batch Size, number of container spawning and termination
Here is my Lambda function:
LambdaFunction:
Type: AWS::Serverless::Function
Properties:
Description: Lambda Function that is spawned via an SQSEvent
FunctionName: LambdaFunctionName
Handler:…

ababuji
- 1,683
- 2
- 14
- 39
0
votes
1 answer
How to Prevent Invoking AWS Lambda Function Container Multiple Times
[UPDATE 1:] When I increased the timeout to 1 minute, CloudWatch displayed the following in the middle, after two successful runs of the script, and followed by one:
REPORT RequestId: xxx-xxx Duration: 7670.23 ms Billed Duration: 7671 ms …

navneethc
- 1,234
- 8
- 17
0
votes
1 answer
AWS Lambda Custom Nodejs Container Shows Runtime Error
I have built a AWS Lambda function with custom container image. I am trying to convert an excel file to pdf with Libreoffice - getting the file from S3 and saving it to a file and converting it to pdf and then uploading it back to S3.
Here the…

Ajeesh Joshy
- 1,387
- 2
- 18
- 32
0
votes
1 answer
bref.sh php container for AWS Lambda with Neos CMS
I'm struggling to get Neos (a php based cms) to run in a docker container for AWS Lambda.
I guess I have somewhere a misunderstanding and hope anyone can help.
What I did so far:
I adjusted Neos so that all cache files will be written to the tmp…

kapale
- 535
- 1
- 7
- 15
-1
votes
1 answer
Is there an Azure DevOps task to automatically deploy a new AWS Lambda *docker image*?
I have an AWS Lambda function that runs a Docker image I create in Azure Devops.
My Azure DevOps Pipeline contains a Docker build task, and then an ECRPushImage task to push that image to AWS.
Currently, after pushing a new image, I have to go to…

Alexander Engelhardt
- 1,632
- 3
- 16
- 31
-1
votes
2 answers
APIGatewayRestResolver lambda function giving error "errorMessage": "'httpMethod'", "errorType": "KeyError" at app.resolve(event, context)
I am using this AWS LAMBDA POWERTOOLS to resolve lambda functions error to api gateway so that client receive correct error code instead of 200 always.
from aws_lambda_powertools import Logger, Tracer, Metrics
from…

iamabhaykmr
- 1,803
- 3
- 24
- 49