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
Tom Hill
@hill
Hi there, i'm wondering if anyone can help me
I can deploy a serverless function fine and it works perfectly after sls deploy
but if I try to run a local invocation:
sls invoke local --function get --path mocks/get-event.json --log
I get this error:
Type Error ---------------------------------------------

  TypeError: Cannot read property 'Fn::ImportValue' of undefined
      at /snapshot/serverless/lib/plugins/aws/invokeLocal/index.js:188:18
      at Array.map (<anonymous>)
      at /snapshot/serverless/lib/plugins/aws/invokeLocal/index.js:186:58
      at tryCatcher (/snapshot/serverless/node_modules/bluebird/js/release/util.js:16:23)
...
but I only get that error when trying to invoke locally?
I'm very confused and would appreciate any help
moshe0076
@moshe0076
Hi,
I was wondering if the framework supports using AWS HTTP API with private integration (VPC link). I can't find an example for the HTTP API (VPC link and ALB).
jugglingjsons
@jadczakd
Hey there!
  1. I am wondering how do you guys go about developing & testing in a bigger group? I mean how do you use stages / environments to ensure no one is overriding others work (if working in purely online mode?)
  2. Also the way I see it, running any local environments in more complex scenarios will be more of a drag than anything - I might be wrong about it - but it feels like mocking all the services may not be as straightforward as one would like. I mean things like SNS / SQS / Triggers etc
Liam
@Hacky_Penguin_gitlab
Hi guys, Wonder if anyone can help me mass delete serverless stacks. We are using serverless to deploy ephemeral per developer AWS ec2 stacks. each developer deploys multiple stacks for different resources automatically. This causes a stack of resource-ephemeral-USERID to be created. I want to clean these up sls remove requires me to be in the directory which deployed the serverless to delete it. as the name is dynamic id have to write a fair bit to discover what currently exists move into each serverless stack figure out the USERID of the deployed stack and and delete it. is there anyfunctionalty which would let me blow away stacks matching a glob pattern or is it better do do this via CF cli?
Ideally id like a serverless destroy *.ephemeral.* behaviour
Jon Flash
@funkswing
Trying to use Serverless with a Lambda that rotates secrets for AWS SecretsManager. Seems this is not an event supported by the Serverless framework. What is the best way to add the lambda:InvokeFunction resource-based policy to allow SecretsManager to invoke the function?
Giacomo Grangia
@ggrangia
Hello guys, are there any best practices to handle DynamoDB attributes changes ? I have a CI/CD pipeline that performs "sls deploy" and when I change DynamoDB attributes I have to manually delete the stack and re-deploy it.
Nico
@nicored
@ggrangia I'd not use sls and cloudformation for this, but would rather deploy dynamo and the changes to the tables using terraform
clmn
@JacksonGariety
How can I integrate DynamoDB caching (DAX? Redis?) with Apollo Server?
I'd like to cache my GraphQL API.
Frank Lemanschik
@frank-dspeed
hmmm caching the api is easy simply setup a reverseProxy and cache the responses
Horizontal Scale that Proxys as needed
if you got some money your invited to be a beta tester of DIREKTSPEED Buildbrain it could handle that for you :) for 500 bucks
Maarten van der Hoef
@maartenvanderhoef
Hi Everyone, I'm adopting a stack with API GW + VPC LINK + Tons of ECS Microservices and tons of API GW Proxy integrations of which the integrations are all defined in Terraform.
This makes the configuration massive and not easy to maintain and I was wondering if people used serverless for simply deploying the API GW Proxy Integration part of a microservice ? I'm thinking this would be a more decentral approach and gives developers a bit more velocity.
I'd like to hear input on this, and I can't really find examples to deploy this without deploying an actualy lambda. Much appreciated!
Orr Levinger
@orr-levinger
Hey everyone i have a noob question..
When i create my serverless project and run sls deploy
all my lambdas are created in AWS but i cant see the code in the console. says its too large.
sometiels its a very slim lambda and still..
does it means taht all the code in the project in bundled for all lambdas? or serverless framework splits the code too seperate lambda
basically im asking how do i know what is the bundle deployed for each lambda from my serverless.yml since they all in the same project and repo and sometimes they refer to same files..
jugglingjsons
@jadczakd

Hey , can anyone point me as to how to define DLQ for a lambda
I've found this for now, but am not very happy with it as SQS is exactly what I am using. https://www.serverless.com/framework/docs/providers/aws/guide/functions/

DLQ with SQS
Although Dead Letter Queues support both SNS topics and SQS queues, the onError config currently only supports SNS topic arns due to a race condition when using SQS queue arns and updating the IAM role.
We're working on a fix so that SQS queue arns will be supported in the future.

jugglingjsons
@jadczakd
Do I need to define IAM policies to support the DLQs?
jugglingjsons
@jadczakd

I am trying to define the onError parameter to point to SQS for my lambda:

    onError: ${self:custom.SocketReplySQS.dlq} # Doesn't work with SQS

this doesn't seem to work when the provided with an SQS - any tips ?

jugglingjsons
@jadczakd
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
@jadczakd

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. (

14 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
@jadczakd
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?
Gábor Gergely
@kodfodrasz
also is this an AWS limitation, or a serverless implementation speciality?