Quantcast
Channel: Active questions tagged aws-lambda - Stack Overflow
Browsing all 3995 articles
Browse latest View live

Partitioning User Activity Data in S3 for Athena - multi-level partitioning

Currently dealing with a common problem of storing user activity logs in S3 which than will be queried by Athena. For this, I defined an event class with a lot of telemetry fields. This is used by...

View Article


Is there a way to dynamically set the LambdaFunction Role property?

We have a product that we're developing that uses AWS Lambda Annotations Framework, using C# for writing the Lambda functions and handlers.We have Dev, QA, and Production stages that we are deploying...

View Article


WebDriverException : "Process unexpectedly closed with status 255" -...

I am currently working on a web scraping project on aws lambda (serverless)techs :python3selenium 3.14geckodriver-V0.29firefox 80.0 (en mode headless)Here is the code I implemented (knowing that I...

View Article

Image may be NSFW.
Clik here to view.

AWS API Gateway and CORS issues

I have an AWS API Gateway URL (https://mhw8mm294k.execute-api.us-east-1.amazonaws.com/prod/saveImage) that has a GET, POST, and OPTIONS method. CORS is enabled on the resource. When I use a browser...

View Article

Image may be NSFW.
Clik here to view.

AWS: Connecting Public Subnet's Lambda to Private Subnet's Lambda

I would like to check how to let AWS public subnet's lambda to get the information from the private subnet's lambda.AWS Diagram to be achieved:I got some regulatory restriction that i am unable to let...

View Article


Import libraries in lambda layers

I wanted to import jsonschema library in my AWS Lambda in order to perform request validation. Instead of bundling the dependency with my app , I am looking to do this via Lambda Layers. I zipped all...

View Article

AWS lambda give permission to assume role

I want to use role assume in a AWS lambda function.I have the follow template.ymlAWSTemplateFormatVersion: '2010-09-09'Transform: AWS::Serverless-2016-10-31Parameters: Role1: Type: StringResources:...

View Article

Can an AWS Lambda function call another

I have 2 Lambda functions - one that produces a quote and one that turns a quote into an order.I'd like the Order lambda function to call the Quote function to regenerate the quote, rather than just...

View Article


Challenges with HTML to PDF Conversion using Puppeteer in AWS Lambda

HTML TO PDFI am facing difficulties converting HTML to PDF using Puppeteer within an AWS Lambda environment configured with Node.js 16.Although Puppeteer works reliably in local and server...

View Article


No module named 'confluent_kafka.cimpl' error while updating aws lambda...

I want to update my python runtime for aws lambda from 3.9 to 3.11.Till now, I am using python-3.9 runtime and I have not specified any requirements or additional libraries to my lambda function, still...

View Article

Does AWS-Lamda support multi-threading?

I am writing an AWS-lambda function that reads past 1-minute data from a DB, converts it to JSON, and then pushes it to a Kafka topic.The lambda will run every 1 minute.So if a scenario comes like...

View Article

Integrating a feature/SaaS on websites

I'm currently exploring potential strategies for developing a feature that could be marketed and seamlessly integrated into second-hand websites. This feature involves backend calculations based on...

View Article

AWS Lambda: cannot import name 'asn1'

I am using pysftp to connect to a sFTP site from a python function. This is working fine from my local that is running as file_track.py. But when I deploy that on AWS lambda it is failing with –{"error...

View Article


How I can invoke lambda with a delay?

How I can invoke lambda with a delay in python? After execute some line of code in lambda function, I need to sleep the function for 5 sec and then continue.How can i do this in python. I tried the...

View Article

Image may be NSFW.
Clik here to view.

encountering an unknown error with lambda function when I open the service

when I opened lambda function service, encountering an unknown error. I used free tier account. how to solve this problem?

View Article


how to get a existent aws lambda source code using aws cli

I have several aws lambda functions and I want to download all the source code, in separated zip files(preferably, this is the way I uploaded them).I was able to list the functions and configurations...

View Article

AWS Lambda Report batch item failures with SQS

The Lambda response is{"errorMessage": "handler returns a single value, but it does not implement error","errorType": "errorString"}ref aws documentThe example shows that only need to return fail...

View Article


AccessDeniedException: User is not authorized to perform: lambda:InvokeFunction

I'm trying to invoke a lambda function from node.var aws = require('aws-sdk');var lambda = new aws.Lambda({ accessKeyId: 'id', secretAccessKey: 'key', region: 'us-west-2'});lambda.invoke({...

View Article

exec /main: no such file or directory when building docker image of Go app

I have a golang application which I want to dockerize and run on AWS Lambda. Here is my Dockerfile:FROM golang:1.21 as buildWORKDIR /appRUN apt-get updateRUN apt-get install -y libvips libvips-devCOPY...

View Article

Java DynamoDB Streams Lambda: "Cannot deserialize value of type...

I'm writing an AWS Lambda that will listen for DynamoDB Streams events and use those events to update an Elasticsearch index. My code is written using the Quarkus framework, and I've found guides and...

View Article
Browsing all 3995 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>