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
FinnFrotscher
@FinnFrotscher

Hi fellow cloud inhabitants
one issue I am facing is around isolation of environments - using stages.
we start a mediaconvert job (success) and want to consume the cloudwatchEvent it produces.
but the events are consumed across stages, meaning that our dev stage consumes events from our staging stage.
to remedy this, i added the stage: - ${opt:stage} to our function trigger events.

  • cloudwatchEvent:
    event:
    source:
      - 'aws.mediaconvert'
    detail-type:
      - 'MediaConvert Job State Change'
    detail:
      stage:
        - ${opt:stage , 'dev'}
      status:
        - 'COMPLETE'
        - 'ERROR'

Since having included this parameter, the lambda has not been triggered at all.
If i omit this parameter, the lambda triggers on all stages simultaneously, independent of the eventsource stage. (

25 replies
Răzvan Botea
@Mayhem93
hey guys, why doesn't functions.redirect.events[0].cloudFront.origin support having cloudformation functions as a value?
serverless warns me that "needs to be a string", so I guess the object is not being transformed/resolved
Răzvan Botea
@Mayhem93
oh wow, unbelievable, serverless creates another cf distribution, even though I already got one, how about tell serverless that I want to define it in the resources object instead of automatically creating one, then tell the event that I want the distribution with said logical name
jugglingjsons
@jugglingjsons
This message was deleted
Damian Armitage
@dotcrossit_gitlab

Since adding AWS Xray to my project, I seem to be unable to use --noDeploy to validate my serverless file before deployment. For example, if I run locally, sls deploy --noDeploy I get:

Rest API id could not be resolved.
This might be caused by a custom API Gateway configuration.

In given setup stage specific options such as tracing, logs and tags are not supported.

Or through the CI/CD pipeline in Gitlab I get:

AWS provider credentials not found. Learn how to set up AWS provider credentials in our docs here: .

Does anybody know of an issue with using AWS Xray and the --noDeploy option?

1 reply
matrixbot
@matrixbot
A what is this server?
Gábor Gergely
@kodfodrasz
Hi!
I'm having trouble with S3 event handler lambdas
I'd like to have 2 separate lambdas, deployed by 2 separate serverless.conf -s, both handling (different) s3 events
I have set up https://www.serverless.com/framework/docs/providers/aws/events/s3#using-existing-buckets this, and works for the first lambda, but when deploying the second, then deployment fails
what is in that custom lambda, why is it needed at all?
1 reply
Gábor Gergely
@kodfodrasz
also is this an AWS limitation, or a serverless implementation speciality?
dhirendra kumar
@dhkumar-mdsol
Hello all , Can someone help me for custom image
Please let me know if anyone can share any sample code where we have handled code using dockerfile
jugglingjsons
@jugglingjsons
Is there a list of minimal set of permissions to declare for the deployment / CFR agent somewhere? Segregated by services spawned preferably? I've found this https://open-sl.github.io/serverless-permission-generator/ but it doesn't help much with requiring names.
MigelBaez
@MigelBaez
Hi everybody
Victugord
@Victugord
hi everybody
doesnt any one have experience working with azure api manager on sls ?
shashi ranjan
@shashiranjan84
image.png
I am having problem using CLI on Mac
It install without any issue but serverless command gives no output. Any pointer?
shashi ranjan
@shashiranjan84
It was environment issue, restarting the terminal fixed it.
xhumiq
@xhumiq
Hi everybody - newbie question: Given that only rest api gatways can have edge optimized custom domain names, how do I force my serverless api gatway to create a rest api gateway instead of an http api gateway?
or must I use the customDomain plugin - I was hoping to do the custom domain via terraform rather then serverless
Sasha Sklar
@sashasklar
Is there direct support for Lambda Insights in serverless framework?
Beyondem
@Beyondem

Hey everyone, having a weird issue.
I'm using one of my serverless files to reference another so I can share custom configs: custom: ${file(../serverless.custom.yml)}

Within the custom, I have my dotenv that specifies the path
However, it seems it dosnt get a config. Modifying the dotenv file, it seems that the reference to serverless.service.custom is not the actual custom object as loaded from the file, but the string referencing "${file(../serverless.custom.yml)}" itself.
How can I get the actual contents?

Siddhant N Trivedi
@sidntrivedi012
Hey all, was curious if there is any tool/way to lint serverless.yml files ?
Cyril Scetbon
@cscetbon
Hey, I've noticed that a disabled SQS event stays disabled even if I deploy again without enabled: false
another question is how can I decide that the SQS event gets disabled for dev but enabled for prod ?
or maybe sqs doesn't have the enable option so when it gets disabled it stays as it is ?
Cyril Scetbon
@cscetbon
I just checked and it is in the template so it should be set
Cyril Scetbon
@cscetbon
when using variable templates if there a way to say if prod then x else y ?
Mukesh9092
@Mukesh9092

Can someone help me what to pass secretName and secretKey in below serverless file.

functions:
myFunction:
handler: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display:latest
events:

  - awsSqs:
      secretName: aws-credentials
      secretKey: credentials
      queue: QUEUE_URL
Gurkiran Singh
@Gurkiran-Singh

Hi,
I am new to Serverless.
I just want to know if there is any way around that we can create s3 buckets using serverless if else plugin.

What I am trying to achieve is that I want to create new s3 buckets as per Stage I gave in if else statement.

Fr example if script(serverless.yml) runs in production stage it should create different s3 bucket and if script runs in development stage then it should create different bucket according to if else statement.

Please let me know if there is any way around to achieve this.

1 reply
Frank Lemanschik
@frank-dspeed
there are tons of ways for that you can use variables all over the place yml supports even environment variables out of the box
1 reply
you should start learning yml all the basics about it how it gets interpreted and that
this will give you the best learning boost as you will work with yml more often and that applys to every software that uses it
Benjamin Burns
@benjamincburns
Can azure functions defined via the serverless framework be easily triggered by events from event grid? If so, is there an abstraction for this?
matrixbot
@matrixbot
gsb19 Hi all, I'm new to serverless. Looking for python compatible frameworks that don't require AWS.
Both long running and short-lived processes are interesting.
Any pointers would be appreciated. Thanks!
Harshit Chhipa
@HarshitChhipa
Screenshot 2020-11-19 at 2.24.41 PM.png
Just installed serverless on my mac and getting this error when i run serverless --version
any idea how to solve it?
any help will appreciate.
Daniil
@reflash
@HarshitChhipa what nodejs version is installed on your machine?
Has anyone faced a problem with the framework excluding dependencies that are used actually? I get error when I deploy to Azure because lots of packages are missing
Harshit Chhipa
@HarshitChhipa
@reflash I have node version 13.5.0.
Rohan Kapur
@RohanKapurDEV
If I don't use the serverless dashboard and simply use AWS for all my lambda function deployments via the serverless framework, is there a limit on the amount of functions I can deploy? Are there any limitations of any kind that occur solely as a result of me using the serverless framework?
1 reply