serverless-framework Questions
3
Solved
I'm using the following as a custom serverless-dotenv-plugin plugin configuration:
custom:
dotenv:
path: .env-${opt:stage, 'local'}
But what I'm really trying to get is that the environment b...
Buster asked 4/7, 2018 at 9:35
5
I am trying to debug sls invoke local.
My setup:
However I keep getting:
/Users/nikos/.nvm/versions/node/v6.9.1/bin/node --debug-brk=63417 --expose_debug_as=v8debug /Users/nikos/.nvm/versions/no...
Rob asked 7/2, 2017 at 9:7
3
Solved
So as a pretext, I've got less than no idea what to do about this. I've researched for about two hours and normally I would just keep going but none of the information I've found has been useful. I...
Undamped asked 14/3, 2021 at 6:39
5
Solved
I'm finding it hard to understand the difference between SAM template and Cloudformation template. I know that SAM template can be used to define Serverless Applications like Lambda, but how does t...
Digamy asked 2/5, 2018 at 18:2
3
Solved
I am working with the Serverless Framework in my approach to Authentication. My goal is to create an API endpoint that triggers (via AWS API Gateway) a Lambda Function that creates a new AWS Cognit...
Stonwin asked 9/6, 2017 at 21:40
6
What do you think are the Pros and Cons of using Lambda integration with and without the proxy feature in AWS API Gateway (and more specifically, when using the Serverless framework)? Here's what I...
Stew asked 26/2, 2017 at 21:6
2
As part of an AWS CodePipeline in an AWS CodeBuild action I deploy resources created with the Serverless Framework to a "UAT" (user acceptance testing) stage.
The pipeline runs in its own...
Talc asked 10/12, 2021 at 9:11
7
I have an error Code storage limit exceeded deploy the serverless application in AWS. Total size 409 B.
The error message says:
An error occurred: HelloLambdaFunction - Code storage limit excee...
Tenstrike asked 7/8, 2018 at 8:45
6
Solved
I have setup an API Gateway (v1, not v2) REST API resource using CloudFormation template. Recently I have noticed that the default execute-api endpoint is also created, which I can disable in the s...
Oversee asked 8/1, 2021 at 12:3
2
Solved
I use Serverless-Authentication-boilerplate and want to map custom error response. But it always return 500 error.
authorize.js
// Authorize
function authorize(event, callback) {
let providerCon...
Discordance asked 29/7, 2016 at 3:25
4
Solved
I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API.
If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda:
Acc...
Rubbish asked 26/7, 2018 at 11:31
4
I have an HTTPApi API Gateway created with the Serverless Framework. But for some routes, the CORS is not working.
provider:
name: aws
runtime: nodejs12.x
stage: dev
region: us-west-2
timeout:...
Uretic asked 1/2, 2021 at 21:48
2
Solved
I'm using the serverless framework in order to create a Cognito User Pool using the following CloudFormation configuration:
Resources:
CognitoUserPool:
Type: AWS::Cognito::UserPool
Properties:
...
Samala asked 20/6, 2019 at 16:26
4
I have a serverless project that is creating an API Gateway API amongst other things. One of the functions in the project needs to generate a URL for an API endpoint.
My plan is to get the API ID ...
Clarethaclaretta asked 5/7, 2017 at 23:47
4
I am using the Serverless Framework for my AWS-powered application. I've been writing a super-long serverless.yml file so far, which contains all my lambda code, resources, IAM roles, and State Mac...
Campanology asked 7/5, 2021 at 11:14
9
when i type serverless deploy appear this error:
ServerlessError: The security token included in the request is invalid.
Ruffian asked 16/11, 2018 at 20:29
2
Solved
Issue Description
Adding a limit to a Sequelize Query with a SubQuery fails to limit retrievals. Multiple online resources referencing this error and no solutions. Is this a Sequelize error or use...
Claver asked 12/5, 2020 at 21:17
9
Solved
I'm working on a aws serverless project and need to test the lambda functions locally.
I am using serverless invoke local -f {function_name} command to test the API calls that does not request any...
Cumberland asked 10/9, 2018 at 4:26
2
When to release connections and cleanup resources in lambda. In normal Node JS application we do use the hook
process.on('exit', (code) => {
console.log(`About to exit with code: ${code}`);
})...
Gains asked 21/7, 2017 at 10:3
5
Pulling my hair out trying to pass a raw body for Stripe webhook on NextJS!.
Trying lots of solutions from everywhere and I cant seem to make it work.
Opening it up the devs with superpowers (of wh...
Wallaroo asked 15/11, 2021 at 0:59
4
Solved
I am trying to make Serverless work with Elasticache. I wrote a custom CloudFormation file based on serverless-examples/serverless-infrastructure repo. I managed to put Elasticache and Lambda in on...
Retarder asked 9/1, 2017 at 8:57
10
I am trying to set up a workflow with serverless that creates a new S3 bucket, a new SQS queue and when an object is created in the S3 bucket, puts a messages on the queue and spins up a lambda onc...
Heel asked 21/2, 2020 at 18:47
2
Solved
I have a problem with these lines in my serverless.yml file.
I am using the Serverless plugin serverless-single-page-app-plugin.
# CustomOriginConfig:
# HTTPPort: 80
# HTTPSPort: 443
# OriginP...
Morello asked 3/4, 2019 at 13:13
1
I'm building an AWS Lambda function and trying to write some integration tests for it. The Lambda function is running locally using serverless-offline plugin and simply receive a GET request with s...
Creath asked 22/2, 2022 at 19:14
2
I have several functions in my serverless app. Two of them are for REST endpoints and one is SQS handler. They all are using the same libraries. So, I want to move them to Lambda Layer and share ac...
Vitric asked 21/7, 2021 at 6:53
1 Next >
© 2022 - 2024 — McMap. All rights reserved.