Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 16 2019 18:39

    carlosandrebp on master

    upload email icon (compare)

  • Jan 15 2019 14:03

    carlosandrebp on master

    Icons update (compare)

  • Nov 13 2018 16:54
    hassankhan commented #3
  • Nov 02 2018 15:10
    hassankhan commented #3
  • Nov 02 2018 15:10
    hassankhan commented #3
  • Nov 01 2018 23:19
    hassankhan commented #3
  • Oct 29 2018 16:32
    hassankhan commented #3
  • Oct 24 2018 14:38
    hassankhan opened #3
  • Aug 14 2018 23:50

    carlosandrebp on master

    updates animations (compare)

  • Jul 19 2018 16:34
    brianneisler closed #1
  • Jul 19 2018 16:34
    brianneisler commented #1
  • Jul 18 2018 16:36

    andrepiresbp on master

    Updates (compare)

  • Jul 18 2018 15:50

    andrepiresbp on master

    Update (compare)

  • Jul 09 2018 19:25
    gornostal commented #59
  • Jul 09 2018 19:12
    maheshmasale commented #59
  • May 24 2018 23:39
    DavidWells removed as member
  • Feb 13 2018 19:40
    ivan-myob commented #54
  • Feb 08 2018 08:48
    julien2x opened #62
  • Dec 22 2017 16:14
    awcheng opened #61
  • Oct 23 2017 19:12
    dluu2015 closed #60
Saketh Saxena
Hi ! not sure if this is the right forum for this but there's 2 vulnerabilities shown for serverless right now, this is causing some of my pipelines while deploying serverless to fail as they perform a npm audit fix i wonder if anyone else is facing this issue and if there's a work around for this! Thanks https://snyk.io/test/github/serverless/serverless
James Moey
Does any one know how to setting durableClient in binding in serverless.yml? I am trying to use durable function in azure function


We just released Serverless Cloud into Public Preview, and it's now available to everyone!

  • 500ms deployments,
  • Instantly forkable apps (into isolated AWS accounts)
  • Rapidly create Preview and Test instances of your apps.
  • And much more make it a game-changer for serverless application development.


Let us know what you think!

Michael Eisel
Hi, during my deploy, I want to generate a string via a script and have it as an environment variable. I.e., I want to generate a serverless variable at runtime. Is this possible?
Hi everyone, I need to create a resource path like this blobs/{blob_id}
      Type: AWS::ApiGateway::Resource
          Ref: ApiGatewayRestApi
            - ApiGatewayRestApi
            - RootResourceId

        PathPart: '{blob_id}'
when I change this Ref: ApiGatewayRestApi to Ref: blobs it says undefined blobs resource
Hi everyone. I'm trying to use role-based AWS profiles:
region = eu-central-1

[profile aaa]
role_arn = arn:aws:iam::222222222222:role/foo-Deployment-Manual
It works with aws command line, but sls deploy complains that the profile isn't configured. Are such role-based profiles supported by serverless at all?
How does one migrate a serverless app from one AWS account to another?

Hi am running into an issue where my env vars aren't being expanded when my cloud formation json is being created:

service: ${env:FOO, "foo-default"}${env:BAR, ""}
    name: ${env:FOO, "foo-default"}${env:BAR, ""}
  stackName: ${self:service}

When I generate the cloud formation json it's creating these values:

      "Export": {
        "Name": "sls-${env:FOO, \"foo-default\"}${env:BAR, \"\"}-dev"

Basically It's treating the env vars as plain text. Should I report this as a bug or am I doing something wrong?

i have an env problem too

op@os-MacBook-Air resolute-serverless-backend % serverless

Serverless Error ----------------------------------------

Cannot reliably resolve "env" variables due to resolution conflict.
Environment variable "STAGE" which influences resolution of ".env" file were found to be defined in resolved ".env" file.DOTENV_ENV_VAR_RESOLUTION_CONFLICT

Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com

Your Environment Information ---------------------------
Operating System: darwin
Node Version: 17.0.1
Framework Version: 2.66.1
Plugin Version: 5.5.1
SDK Version: 4.3.0
Components Version: 3.18.0

op@os-MacBook-Air resolute-serverless-backend % sls -v
Serverless: Running "serverless" installed locally (in service node_modules)
Framework Core: 2.66.1 (local)
Plugin: 5.5.1
SDK: 4.3.0
Components: 3.18.0

why does everyone markup look so much better thanmine?
Hi - facing a issue when running serverless offline - Azure NodeJs
Does anyone have any idea of how to resolve this - tried multiple solution but not able to resolve

why does everyone markup look so much better thanmine?

We know the syntax, obviously. Surround with triple backticks. There is markdown help to the right of the input box.

Webert Lima
This message was deleted
Gareth McCumskey
@JacksonGariety What do you mean by migration? If you just want to deploy in a different account it entirely depends on your credentials you use to log in with. You should then just be able to run "serverless deploy" with new credentials from the new account to deploy your stack there. However, these will be two entirely different and independant stacks. If you want to do things like move data, you might need to export data from the one account and import it into the other. This only really works if its a small amount of data. If its larger amounts of data AWS does provide some services you can use to transfer data between accounts
Guillermo Jimenez
Hi, I have a question, when I run offline the request verb is in here event.requestContext.http.method, but when I deploy in AWS lambda is here event.httpMethod
any way to normalize that ? or to make the offline runs as the aws one?
Gareth McCumskey
@Memiin Are you using the http event or the httpApi event for your lambda
Rafael Pereira

Hello. My typescript project with serverless component is giving the following error:

23s › Serverless › The operation cannot be performed at this time. An update is in progress for resource:...

I noticed that the error started to display without changing anything in the source code.
And doing some commit hash reversals, I noticed it's showing this message because my project is in typescript. If I revert the settings to be a javascript project, it works just fine.
can anyone help?

1 reply
Deprecation warning: "provider.stage" is not accessible (configured behind variables which cannot be resolved at this stage).
what is this one
Ellery Familia

I've started running into an issue in which attempting to deploy produces this error:

Unzipped size must be smaller than 104060999 bytes

Part of the issue is the fact that serverless adds the full aws-sdk, along with all client libraries which totals 68MB. So I have the dynamodb client js code (plus dozens of others), even though I don't use it.

Is there a way to fix that? I need to reduce the size of my package


@elleryfamilia There is currently a bug with serverless not tracking runtime dependencies correctly. A workaround is:

  1. Install serverless and all plugins globally or just outside the folder with serverless.yml
  2. excludeDevDependencies: false in serverless.yml
  3. yarn install --prod or equivalent for other package managers

You can then run serverless package to see if a .zip file in .serverless became smaller

You should also ensure that your normal dependencies don't have development dependencies there by mistake
Djordje Tadic

Hi everybody,

I have trouble testing locally a lamda which calls another lambda. Is there any way i can run the child lambda locally while triggering the parent lambda?

Arthur Barbero

Hi guys, I'm trying to use functionResponseType as specified here on serverless doc Setting the BatchSize but anything I've tried to doesn't worked, how can I return on my LambdaFunction a BatchResponse with only the failures messages like described on documentation.

Serverless example:

      event-type: queue
    timeout: 10
    handler: functions/handlers/messageHandler.handle
      - sqs:
              - MessagingQueue
              - Arn
          batchSize: 1000
          maximumBatchingWindow: 30
          functionResponseType: "ReportBatchItemFailures"
Arthur Barbero
Guys, I figured out, my serverless wasn't on the latest version, this feature was merged 8 days ago, so I wasn't able to use yet, but now with version 2.68.0 it worked :D
Yevhen Hrabovskyi
Hey, is there any way to specify http: CORS in provider section? seems stupid to specify this config on each lambda entry
Amit Dhawan
Hi guys, I see eventGrid trigger is not supported by serverless. Error: Binding eventGridTrigger not supported is the error I get
This is the exact issue:- serverless/serverless-azure-functions#521
Atul R
:point_up: Edit: How to add trigger to existing dynamodb table. If anything gets updated in that table lambda function should gets executed.
How do I add a trigger to an existing DynamoDB table in serverless.yml? If anything gets updated in that table, the lambda function should get executed.



You need to add a stream event handler to your lambda

    handler: handler.compute
       - stream:
          type: dynamodb
            Fn::GetAtt: [MyDynamoDbTable, StreamArn]
Atul R
@nponeccop: whole or just few lines?
I tried but that is not reflecting in Lambda's trigger in AWS.
Does the table have StreamSpecification?
1 reply
Atul R
nponeccop ( nponeccop): yes
I'm trying to create a powershell based lambda but am having trouble setting up the handler part of the function in serverless.yml. Do I need to create a dotnet based handler to wrap the powershell script?
Or should I avoid defining the powershell script as a sls function and use cloudformation? (like in these docs: https://aws.amazon.com/blogs/developer/deploying-powershell-based-lambda-with-aws-cloudformation/)
Hugo van Rijswijk
Hi, I'm trying to build a serverless lambda httpApi and I think the serverless sdk is not forwarding the entire event, but instead cutting stuff off and only forwarding the body. Is there a way to tell serverless to forward the entire ApiGatewayProxyEventV2 event? This thing: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
Antonio D'Alessio
Hi, is anybody else experiencing serverless/serverless#3249 issue?
I'm not able to deploy my lambda functions due to EMFILE: too many open files.
The last user that commented the issue suggested to use npx but I don't understand how.
(I also posted a question on stackoverflow in case you have any suggestion)
Aman Angira
@antessio I am not sure if this helps.

Hi everyone, I am facing Serverless › ENOSPC: no space left on device, write error when making a react deployment using npx serverless@2.64.1 deploy

More details here - actions/virtual-environments#4822. Any ideas on what exactly is the problem and a fix?

Antonio D'Alessio
@amanangira I'll try to downgrade node with nvm. Thanks
Antonio D'Alessio
After downgrading node to v14, the error disappeared