All Questions
Tagged with amazon-web-services aws-lambda
20,509
questions
-1
votes
1
answer
17
views
make request from a static IP address to an API in AWS
I have an API that I need to host in AWS that makes requests to an API that requires IP whitelisting. In other words every request I make from my AWS server/service must have the same IP, or an IP ...
0
votes
0
answers
9
views
setting up an amazon webhook and a Lambda function with Telegram
I'm trying to link a telegram bot with a lambda function that bears a LLM. In order to do so, I've used a HTTP API gateway and a webhook. I've also linked my webhook to my telegram bot. My lambda ...
0
votes
0
answers
18
views
Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs Error on AWS lambda
I am trying to invoke a lambda function on AWS but I am getting the error: "Error: Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs"
Folder structure:
enter image ...
-1
votes
0
answers
10
views
Lambda in a Private Subnet invoke another Lambda in a Private Subnet within a same VPC
I have a configuration in such a way:
1 VPC
2 Subnet in VPC
1 Lambda in each Subnet (total: 2 Lambda in VPC)
Network ACL has inbound and outbound rules to have rules of All Traffic has been "...
0
votes
0
answers
18
views
How to increase recursive invocations limit in AWS lambda?
I have a lambda function that asynchronously invokes itself in a chain reaction 30 times in a row, however AWS stops at invocation #16 because of the infinite loop detection
Is there a way I can ...
1
vote
0
answers
12
views
Python - Writing data from Firehose lambda to S3 with dynamic names
I am using Amazon Data Firehose with a Lambda function to massage data before writing to S3 destination. I need to change the name of the S3 file written to S3 based on the data processed in the ...
0
votes
0
answers
6
views
cognito with lambda verify_auth_challenge returning incorrect username or password when responding to custom challenge
I am trying to implement email based MFA using AWS congito and Lambda triggers and using lambda functions trigger and verify mfa_code. I am able to pass PASSWORD_VERIFIER challenge and also able to ...
0
votes
0
answers
18
views
Quarkus based AWS Lambda native image cold start init phase is slow
I have quarkus-amazon-lambda:3.12.0 based AWS Lambda native image function, which cold start is slow. I'm not expecting it to be like that as the function does not do any complex tasks and the ...
0
votes
0
answers
11
views
Error in scheduling a Sagemaker notebook execution without using jobs
I have tried setting up a Lambda function to trigger the Notebook instance start and added a lifecycle config to execute the notebook file and then stop when its idle for 5 mins. However as the ...
0
votes
0
answers
18
views
Is it possible to write AWS Lambda function with streamed response in C#
I want to make a lambda function that returns a 12-13mb files. According the docs, for regular functions response payload limit is 6mb - for streamed - 20mb.
I found a documentation with streamed ...
-2
votes
0
answers
15
views
"Error: Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs"
I am trying to invoke a lambda function on AWS but I am getting the error: "Error: Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs"
Folder structure:
enter image ...
0
votes
0
answers
18
views
AWS lambda: Unable to determine service/operation name to be authorized
I am trying to deploy my lambda based on fastAPI and Mangum and invoke it from API Gateway. If I test it from AWS console from API Gateway, it works and I get reply as it is expected. Then it seems ...
0
votes
1
answer
28
views
AWS lambda serverless framework on local with other aws services
I am pretty new to AWS and trying to creating AWS lambda application using node js and serverless framework. But I stumbled upon a point where I have to run the things locally to test the things like ...
0
votes
0
answers
11
views
AWS Step Functions vs SNS for Full stack Controller-Model(s) Lambda Functions
I'm building a full-stack application using AWS and I'm currently working on my backend services; I have a Controller lambda that will communicate to other Model lambdas such as a CognitoModel, ...
0
votes
1
answer
18
views
How to isolate environment variables from the shared lambda function template in cloudformation
This is my function.yaml which creates the lambda function here I have put the environment variables but it's shared all across the lambda function stack I make function.yaml
AWSTemplateFormatVersion: ...