32,222 questions
0votes
1answer
37views
I want to trigger a lambda on an S3 bucket and I only have access to the bucket via a role
Someone else has granted access to a bucket to an IAM role of mine. I can thus access the bucket by assuming the role. However, my next problem is to trigger a lambda when things arrive in the bucket. ...
0votes
0answers
19views
Can aws-lambda-python image be used as base image for aws batch?
For aws batch job that needs python I use python:3.11.11 image. What if I replace this with amazon/aws-lambda-python:3.11-x86_64? Are there any restrictions for using amazon/aws-lambda-python:3.11-...
-1votes
0answers
44views
Depricated attribute "invoke_url" and stage_name = "prod"
I keep getting this error about these two being depricated when I run terraform validate. output "api_url" { value = "${aws_api_gateway_deployment.api_deploy.invoke_url}/prod/hello&...
0votes
0answers
39views
Why does deployment of lambda functions from AWS console fail with 403?
When trying to deploy a lambda from the console, I often (but not always) get this: The same goes for loading the lambda code: This happens even when I'm logged in as the root user, so it's not a ...
0votes
1answer
66views
AWS Lambda not works with Cats Effect IO (Scala)
I try to run function written on Scala with Cats IO using. Simple Scala functions from https://aws.amazon.com/blogs/compute/writing-aws-lambda-functions-in-scala/ and https://rockthejvm.com/articles/...
0votes
0answers
27views
Sending message to RabbitMQ from C#8 lambda sometimes throws AlreadyClosedException exception
I have a lambda in C#8 that I want to send a message to a RabbitMQ queue. It works most of the time but sometimes I see this exception logged. I don't think the lambda takes long to execute usually (...
-1votes
0answers
61views
Deployment failed zip file exceeds 50MB/1GB limit due to model size and dependencies [closed]
I am stuck while deploying my model using an S3 bucket. The issue is that my zip file exceeds 50 MB and sometimes even reaches GBs in size. Could you please provide a solution for this? If possible, a ...
2votes
1answer
53views
Custom Base-Image for AWS-Lambdas
I have an issue with custom base-images when deploying it to lambdas. I tried to follow the official documentation but still get an error: INIT_REPORT Init Duration: 6.46 ms Phase: init Status: error ...
0votes
0answers
31views
AWS Lambda S3 Trigger with Spring Cloud Function
I am deploying an AWS Lambda function using Spring Cloud Function (Kotlin) via AWS CLI, and setting it to be triggered by an S3 ObjectCreated event. However, when the Lambda is invoked by the S3 event,...
-4votes
0answers
37views
How to store images for use by AWS Lambda? [closed]
I am trying to get AWS Lambda to run a Node.js script I wrote, the purpose of which is to upload an image to another website via a third-party API. The images in question have the following properties:...
1vote
1answer
40views
How to create EventBridge rule that triggers Lambda/Step function on another account?
I have two AWS accounts named A and B. I want to create an EventBridge rule on A that will run Lambda/Step function on B, and on runtime I don't have access to B, only to A. The problem with lambda ...
-2votes
0answers
41views
Playwright with Firefox on AWS Lambda (AL2023) crashes with “No GPUs detected via PCI” and profile directory errors
❗️Problem Summary: I’m trying to launch Firefox using Playwright in a headless, GPU-less environment — specifically in AWS Lambda (Node.js 20 on AL2023). I’m using custom decompressed Firefox binaries ...
-3votes
1answer
62views
AWS IP Address for Lambda function
I have a Lambda function on AWS that requires connectivity to my On premise API server. Currently a request originating from Lambda is getting blocked at my Company Firewall. To open the Firewall, I ...
1vote
1answer
34views
No module named '_typeshed' while using AWS lambda functions
I am creating a chatbot using python, and I was trying to create a API endpoint to get AI responses. I uploaded the code to AWS lambda functions by creating a function and used AWS lambda layers to ...
0votes
1answer
47views
Cloud Custodian Policy to Delete Unused Lambda Functions
I'm trying to develop a Cloud Custodian Policy to Delete Lambda Functions which haven't executed in the last 90 days. I tried developing some versions and did a dry run. I do have lots of functions (...