Category "serverless"

Routing in a lambda function without API Gateway

I have an express app and is deployed via serverless. My stack is just a lambda function + API Gateway. That works and it's accessible on Postman or httpxmlrequ

Why do I get a UserCodeSyntaxError when I have no syntax error in my code?

I'm currently creating a Dialogflow chatbot in nodejs and upon deploying my code I get an error message. I've attempted to uncomment most things out to just be

serverless - Type Error: Cannot read property 'Properties' of undefined

When issuing serverless deploy --region eu-central-1, I get the error Type Error --------------------------------------------- Cannot read property 'Proper

How to combine having serverless and docker in github actions

I am running my tests on aws lambda with the use of custom image. I'm using serverless for the configuration and the build of the image. Process works fine loca

In serverless(aws), how to get variable reference from serverless.yml file?

In Serverless.yml, I defined resource: provider: name: aws runtime: nodejs6.10 region: us-east-1 stage: dev environment: customerDef: myvariable

Parameter Store request timing out inside of AWS Lambda

I'm attempting to access the AWS SSM Parameter store, like this article does. I have tested the lambda function locally and it works as expected. When pushed to

problem sending email using sendgrid with serverless-http

when trying to send email by sendgrid the lambda does not show log and ends up giving timeout. I've tried putting it inside a promise, but it didn't help. The i

Serverless 3 project newly upgraded from 2 - cannot update stack / cannot create new changeset

I've been using Serverless for about a year and a half - I love it. Recently two projects were upgraded from version 2 to 3. The first deploy worked fine, but a

Python is not configured for aws sam cli

I am following this tutorial to build a SAM App: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello

Boto3 scan not scanning whole table

I want to fetch a list of objects from a DynamoDB table with the following scan video_list = video_table.scan( FilterExpression="attribute_not_exists(ti

Add custom domain to API gateway without serverless-domain-manager

I want to add a custom domain to the API Gateway using serverless framework but without "serverless-domain-manager" or any other plugin. I am looking for a more

"Kafka Timed out waiting for a node assignment." on MSK

Specs: The serverless Amazon MSK that's in preview. t2.xlarge EC2 instance with Amazon Linux 2 Installed Kafka from https://dlcdn.apache.org/kafka/3.0.0/kafka_2

How to deploy multiple functions using serverless cli?

From the doc, I can deploy a function like this serverless deploy function -f functionName https://www.serverless.com/framework/docs/providers/aws/cli-refer

NestJS and Serverless - handler 'handler' is not a function

I am trying to implement NestJS as a AWS Serverless function using serverless-framework. I was following this official documentation and my code is exactly as i

AWS Aurora MySQL serverless: how to connect from MySQL Workbench

I was trying to use AWS Aurora Serverless for MySQL in my project, but I am impossible to connect to it, though I have the endpoint, username, password. What I

Making A Cloudflare Worker That Tweets Though My Twitter Developer APIs. Can't Get CryptoJS.HmacSHA1 to Create Signature for Fetch Request

I am making a Cloudflare Worker that Tweets from my Twitter Developer APIs whenever I make a blank GET request to the worker. At first you might think "that's e

Use aws sso to execute sls commands

I am running below command to list all the CloudFormation stack outputs. npx sls info --stage $STAGE --verbose Upon executing I am getting below error Process

Chalice AWS Eventbridge

How do i create handler functions (lambdas) that trigger on custom events in a EventBridge event when using AWS Chalice ? https://aws.github.io/chalice/index.ht