examples icon indicating copy to clipboard operation
examples copied to clipboard

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.

Results 133 examples issues
Sort by recently updated
recently updated
newest added

I want to create API Gateway for Sagemaker end point using serverless.yam. Its failing . > An error occurred: ApiGatewayMethod - Role ARN must be specified for AWS integrations (Service:...

Hello ! I was recently looking for the `aws-nodejs-typescript` template on the `serverless/serverless` repository and couldn't find it. It appeared that it was moved out in and https://github.com/serverless/serverless/pull/10576 here in...

Hi i'm getting the following error after deploy on to my Lambda function: ERROR Error occured in serverless-plugin-chrome wrapper when trying to ensure Chrome for hello() handler. { flags: []...

Cloned **aws-node-puppeteer** repo. npm i serverless offline - works as expected serverless deploy - `{"message": "Internal server error"}` what's wrong? any additional config required? Thanks

https://github.com/serverless/examples/tree/master/aws-node-vue-nuxt-ssr I'm successfully using the above example to deploy a Vue Nuxt serverless app to aws. Now what I'm trying to do is to add a server middleware for a...

There's not any example using layer created by the user. Isn't clear to me how I structure a custom module inside a layer. The single [example](https://github.com/serverless/examples/pull/335/files) that I found use...

As described in issue #662 , I find that functions under some examples are not idempotent, including [aws-node-graphql-api-with-dynamodb](https://github.com/serverless/examples/tree/master/aws-node-graphql-api-with-dynamodb), [aws-node-express-dynamodb-api](https://github.com/serverless/examples/tree/master/aws-node-express-dynamodb-api), [aws-node-mongodb-atlas](https://github.com/serverless/examples/tree/master/aws-node-mongodb-atlas), [aws-python-http-api-with-pynamodb](https://github.com/serverless/examples/tree/master/aws-python-http-api-with-pynamodb) and [aws-python-rest-api-with-dynamodb](https://github.com/serverless/examples/tree/master/aws-python-rest-api-with-dynamodb). As suggested in PR #658, I create...

As described in issue #661, this PR creates a new example about what is idempotent function and how to create idempotent functions.

The function of writing username in index.js under aws-node-express-dynamodb-api is not idempotent and may cause data inconsistency. ``` try { await dynamoDbClient.put(params).promise(); res.json({ userId, name }); } ``` Assuming two...

AWS lambda requires that users should write [idempotent functions](https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-idempotent/). However, some functions in `aws-node-mongodb-atlas` do not ensure idempotence. For example, [`performQuery()`](https://github.com/serverless/examples/blob/72b9dbd10b80875969e2a015a8743324379ab92c/aws-node-mongodb-atlas/handler.js#L69) may insert more than one pet into the DynamoDB...