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
jugglingjsons
@jugglingjsons
Hey! Has any of you managed put a json in the env variables? I am accessing my aws secrets that contain a json object. And wanted to pass it as an env var like so:
DIALOGFLOW: ${self:custom.SECRETS.DIALOGFLOW}
Walid Karray
@tux86

Hi guys! I'm using sls components "graphql" when i set up a domain i have this message about certificate when trying to configure cloudfront.

when i try to deploy with domain like "graphql.mydomain.com" i got the error like shown below

It's clear for me the error message,The problem is I have already configured certificate in us-east-1 (N.Viriginia) for main domain "mydomain.com" and with wildcard subdomain "*.mydomain.com"*

 InvalidViewerCertificate: The specified SSL certificate doesn't exist, isn't in us-east-1 region, isn't valid, or doesn't include a valid certificate chain.
matrixbot
@matrixbot
@zirgoner:matrix.org Hello
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'

now NO events are being consumed.
what do i do?

jugglingjsons
@jugglingjsons

Heyo ! I am looking for getting the AWS account id into my custom definiton:

custom:
  AuthArn: arn:aws:lambda:${self:provider.region}:${env:AWS_ACCOUNT_ID}:function:auth
environment:
    AWS_ACCOUNT_ID: !Ref AWS::AccountId

This doesn't seem to work

Darksiderlm18
@darksiderlm18

Hello!
I am trying to automatically execute a lambda every X time. I am using this syntax:

powerfull-lambda:
  handler: lambda.handler
  events:
    - schedule: rate(1 minute)

And in the handler:

module.export.handler = async (_event, _context, _callback) => {
  console.info('Powerfull Lambda running...');
};

But the console.info is not showing in the console. ¿What I'm doing bad?
Thx for the help

Luis E. Obando
@luiseduardo1
I have an existing API gateway and a already created domain and subdomain in route 53, how can i link my subdomain to my API gateway?
orasis
@orasis

If anyone is interested, I just posted an $800 contract to upwork.com to modify a serverless stack.

https://www.upwork.com/jobs/~018f07ed226a79cf9a

clanstyles
@clanstyles
Hey guys, I'm trying to get the nuxtjs serverless example running on AWS and every time I run npm run dev it's monitoring my whole home directory for changes instead of the app folder, causing this to fail.
apikodes
@apikodes
@luiseduardo1 you can create a A record in route 53 and add api gateway regional domain dns name.
Jeff Sittler
@mindblender
Hello! I am a newbie to Serverless components, and I am wanting to implement the Serverless Website Component for our frontend code. My question is, is there a way to use SSM Parameter Store in the component's serverless.yml? I tried the name: ${ssm:/path/to/service/myParam} format, but it didn't seem to populate properly. Any suggestions, or is this not supported at this time? Thanks!
1 reply
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