Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
Greg Swallow
@gswallow
Is this thing dead?
Gareth McCumskey
@garethmcc
@gswallow Could you clarify what you mean by a here document?
And can you clarigy why you would write a CloudFormation template? Serverless Framework provides you abstractions to reduce the amount of CF you need to write and then you do it directly in the serverless.yml in order to keep things together. Perhaps a little more of a description as to what it is you are trying to accomplish might help others advise on a good course of action
13colours
@13colours

Getting "EventBridge rule <rule_name> already exists" error on redeployment
I am using native CF by setting useCloudFormation: true

functions:
  eventBridge:
    handler: index.receiveEvent
    events:
      - eventBridge:
          eventBus: <ARN of the event bus>
          pattern:
            source:
          - server.name
        detail-type:
          - EVENT_NAME

Any help or guidance is much appreciated. Ty

Gareth McCumskey
@garethmcc
@13colours Can you share the ouptut of serverless --version
13colours
@13colours
@garethmcc
Framework Core: 2.53.1
Plugin: 5.4.3
SDK: 4.2.6
Components: 3.14.2
Jeremy Corson
@nexeh
Good morning. Im exploring websockets for the first time this morning using the serverless framework. looks like i got it set up and i can test using websocket king and see my logs so im pretty excited about that. Im curious how people are woprking with them in a development setting becuase it seems there is no support for cors? So if my browser based react client attempts to use it it will just error
Jake Scott
@jakejscott
Hi team, wondering when the next release is scheduled? Have a PR that we are excited to get our hands on :) serverless/serverless#9865
Gareth McCumskey
@garethmcc
@jakejscott The best bet is to tell the team that in GitHub :)
Jake Scott
@jakejscott
Cool thanks @garethmcc
Miguel Carvajal
@krvajal
does anyone has used 'serverless' as a library instead of a CLI app?
chetan.nandrajog
@steel119
Hey. Does any know of good serverless-nodejs-typescript starter production project (Even javascript will be okay) ?
I am looking for production best practices examples like below
  1. middleware
  2. security
  3. how to add multiple microservices under one api gateway etc..
tomerdomshlak
@tomerdomshlak
Hi, I need some help please :)
All of the sudden, sls deploy to dev is failing and we can't understand why.

The error is:

An error occurred: HttpApiStage - Cannot enable logging. Policy document length breaking Cloudwatch Logs Constraints, either < 1 or > 5120 (Service: AmazonApiGatewayV2; Status Code: 400; Error Code: BadRequestException; Request ID: b47af8e7-47d7-4921-baf8-87de0f8ba253; Proxy: null).

Does anyone has any idea???
Thanks in advance!!!
Gareth McCumskey
@garethmcc
@tomerdomshlak Do you make use of the nested stacks plugins of some kind?
The issue is around the fact that each deployed CloudFormation stack has to generate a IAM policy documents for various reasons. There is a limit as to how large any of these policy documents can be. If you werent using a nested stack plugin, usually you would have gotten an error about attempting to deploy more resources than allowed for a specific CloudFormation stack but using a nested stack plugin bypasses that so now your stack gets large enough to reach the limit of character size for an IAM policy
tomerdomshlak
@tomerdomshlak
Hi @garethmcc . I'll start by saying big thank you for your quick response.
I'll consult with my team and send a response back.
Hannah Scovill
@hnsvill
Hi All - I've noticed when I run a serverless <something> command, it always seems to want to resolve secrets before executing the task I tell serverless to run, even if it's just using a local plugin that has no reason to use the environment variables I have stored with my cloud provider.
What exactly happens when you use a serverless <something> command, anyway? I'd like to disable resolving every bit of the config if I'm just trying to do something simple & local. Then I can save config validation for a separate command I can wrap up into other scripts/pipeline steps.
abuzarhamza
@abuzarhamza
Hi All ,
need a small info . Here is my serverless file .... most event post is not working
serverless has any issue
  user-xxx:
      events:
        - http:
            path: xxx
            method: post
            cors: true
            private: true
        - http:
            path: xxx/{sub_id}
            method: get
            cors: true
            private: true
        - http:
            path: xxx/{sub_id}
            method: post
            cors: true
            private: true
abuzarhamza
@abuzarhamza
i am running the serverless-offline with node 12...
Cody Jenkins
@iknowcss
@tomerdomshlak did you ever find out what was causing your issue? I'm getting the same error and I do not use a nested stack plugin as @garethmcc mentioned. Maybe I have too many resources somehow?
Cody Jenkins
@iknowcss
My problem is solved by disabling HTTP API logs, but I'm not sure why:
#  logs:
#    httpApi: true
Bastien Picharles
@Kleinast
Bonjour a tous,
Je travail actuellement sur un projet lamda avec serverless, qui possède pas mal de event scheduled (cron) et il semble que serverless créer/rajoute une ligne de policy pour chaque event.
Malheuresement, on tombe maintenant sur cette erreur: "The final policy size is bigger than the limit"
N'étant pas très calé en serverless, je voudrai savoir si il y a un moyen de gérer manuellement ou de pouvoir dire a serverless de faire des règle de policy plus global avec des * plutot qu'il me génère une nouvelle règle de policy pour chaque event ?
merci d'avance pour votre aide
hainakus
@hainakus
Hi good afternoon
events with rabbitmq on aws mq setup. can anyone give a clue how to setup it on the yaml?
is it the same as activemq?
Eleonora Lester
@elstr
hi, I'm trying to trigger a lambda when a row in dynamo db reaches it's TLL.. what config should I set up in the serverless.yml file? It expects a dynamodb stream but I don't want to check if there's a new row, I need the lambda triggered by the ttl
Matheus Souza de Oliveira Rios
@MatheusRiios_gitlab

Hey guys!

I'm having a problem when I try to run the start step function in another lambda function.

my code:
await stepfunctions.startExecution(params).promise();
But, he response nothing.

I've already increased the lambda execution time, but it's still not running.

billjohnston
@billjohnston:matrix.org
[m]
@elstr I imagine you’d have to use a ddb stream then set the logic in the stream lambda fun to ignore anything but deletes
Austen
@ac360
general.png

@/all

Hi all,

We're doing a free Webinar on October 5th on Enabling Serverless Teams (AKA how to standardize serverless development amidst a growing group of developers).

You can register here: https://app.livestorm.co/serverless/enabling-serverless-teams

Matheus Souza de Oliveira Rios
@MatheusRiios_gitlab

Has anyone had this error when trying to run a state machine?

{
errno: 'ETIMEDOUT',
code: 'TimeoutError',
syscall: 'connect',
port: 443,
time: 2021-09-28T20:22:32.335Z,
region: 'us-east-2',
hostname: 'states.us-east-2.amazonaws.com',
retryable: true
}

Gareth McCumskey
@garethmcc
@MatheusRiios_gitlab That seems to indicate that your Lambda function is timing out. I woudl suggest adding console.log lines to various parts of your Lambda function to see exactly where it is timing out in your CloudWatch logs and that will guide you to a solution
Gareth McCumskey
@garethmcc
@elleryfamilia With the Serverless Framework soon by the look of it: serverless/serverless#10025
Ellery Familia
@elleryfamilia
Hm, the arch parameter should on a per-lambda basis. I'm expecting to have a mixture of both x86 and ARM Lambdas.
Gareth McCumskey
@garethmcc
The proposal says exactly that
Ellery Familia
@elleryfamilia
ha, I see it now.. thanks for pointing that out
Darin Hensley
@dman777
Hello, we are using serverless.yml. In our pip install requirements.txt we are installing aws cli 1.*. Is the runtimewhere aws cli is being used?
 provider:
  name: aws
  runtime: python3.7
Darin Hensley
@dman777
bump
gu3sss
@gu3sss
Hello, I am using Serverless to deploy a bunch of lambdas behind API gateway. And handling the deployments via CICD. One of the stages in my cicd pipeline is Whitesource scanning. Seems like I was using an older version of serverless which caused whitesource to flag a bunch of vulnerabilities. Now, I upgraded to serverless 2.7.0. The vulnerabilities reduced from 34 to 13. But these 13 are still java libraries used by Serverless. Am not sure how to make serverless 2.7.0 use the latest libraries of the flagged packages. For example, kotlin-stdlib, jackson*
Saketh Saxena
@sakethsaxena
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
@jamesmoey
Does any one know how to setting durableClient in binding in serverless.yml? I am trying to use durable function in azure function
Austen
@ac360

@/all

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.

https://www.serverless.com/blog/introducing-serverless-cloud-public-preview

Let us know what you think!