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
Osama Salama
@osalama7
Hi guys, I'm trying to run a mono repo serverless app locally with serverless-offline, since secrets are fetched from aws secrets manager, I can't assign $self in local runs with serverless offline, is there away to overwrite the variables fetched from ssm with .env variables on the fly without the need to rewrite my serverless.yml files?
Jakub Langr
@jakubLangr
Hello is this still the most active serverless community? I've also seen rumours of a Slack and/or Forum?
Jakub Langr
@jakubLangr
I have a fairly key bug: https://forum.serverless.com/t/aws-flask-http-not-working-with-custom-domain-in-a-way-that-is-compatible-with-new-deployments/16935 Or maybe I've severely underestiamted % of people using serverless with custom domains
Adrian Marin
@AdrianMsm91_twitter
Hello boys I have this problem when I'm trying to run for first time serverless, any help?
Attempted to run an interactive setup in non TTY environment.
If that's intended, run with the SLS_INTERACTIVE_SETUP_ENABLE=1 environment variable
Ronny Roeller
@ronnyroeller

Hi! We're trying to migrate from the v2 variable resolvers to the new v3 variable resolver engine. I'm struggling with how to return "undefined" values (i.e. my resolver can't resolve).
If I return { value: undefined }, serverless gives error:

Source "xyz" returned not supported result: "undefined"

If I return just undefined (i.e. not wrapped in { value }), serverless gives error:

Unexpected "xyz" source result: undefined

If I return { value: null }, serverless gives error:

Value not found at "xyz" source

For context, I want to use this to pass an optional parameter:

    MyLayer:
      Type: AWS::Lambda::LayerVersion
      Properties:
        Content:
          S3Bucket: ${myresolver:bucket, ''}
          S3Key: ${myresolver:key, ''}
          S3ObjectVersion: ${myresolver:objectVersion}
eacet
@eacet
@ronnyroeller You have to set null as default value for objectVersion (S3ObjectVersion: ${myresolver:objectVersion, null}) and need to return { value: null} from variable resolver.
Robin Cawser
@rcwsr

Hi all, does anyone know if it's possible to have conditional resources defined, based on the stage?

The use case is that prod and staging stages use a VPC, but dev does not. I am creating a Security Group under resources, which is what I want to make conditional based on the stage.

Tim Gaul
@semiautomatixfu
Hi all, trying to resolve values using "const service = await serverless.variables.populateService();" with the new variable resolution method
Does anyone know what has replaced this method?
Brian G. Shacklett
@bgshacklett
When is the stage parameter resolved in serverless? I see that it can be passed to both the package and deploy command, but it seems to be injected during packaging. Is it possible to have this resolved at deploy-time, to enable build-once + promote artifact deployments?
1 reply
cs-ms
@cs-ms:matrix.org
[m]
curious if anyone has opinions or examples on using ORM to set up dynamo from a serverless typescript project?
1 reply
cs-ms
@cs-ms:matrix.org
[m]
different question, I want to define iam permissions specifically for a lambda but I'm getting an error that "iam" is an unrecognized property in 'functions.hello' (I'm basing this off the nodejs typescript template)
2 replies
Johan Tibell
@tibbe
How do I set the IAM role required to invoke the API Gateway endpoint created for my lambda functions?
2 replies
Is that different from the IAM role that lambda itself runs with (seems like it should be)?
EMRE GÜNDOĞDU
@emre141
Hi
Does anyone met following. error while deploying serverless
node:899) ExperimentalWarning: The fs.promises API is experimental

 Type Error [ E R R_ I N V A L I D_ A R G_ T Y P E] ------

  TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function. Received type undefined
      at promisify (internal/util.js:256:11)
      at Object.<anonymous> (/usr/lib/node_modules/serverless/node_modules/compress-brotli/src/index.js:9:18)
4 replies
jjcamachosanchez
@jjcamachosanchez
Hi. Is there a place where I can read a description of each "serverless create" template.
2 replies
Victor Villacis
@Victor-Villacis
how can I use RDS as a resource all the guides I read are specific to DynamoDB?
cs-ms
@cs-ms:matrix.org
[m]
@swetankkk: I was just running into that error, in my case I needed to install each of the plugins referenced in my plugins section of serverless.ts, so 'serverless plugin install -n serverless-offline' 'serverless plugin install -n serverless-dynamodb-local', and then set it up with 'serverless dynamodb install' because my project is using a dynamodb
I think the enoent is a pretty generic error that gets thrown. the fact it can't find that specific file makes me think a config to copy that file to output is missing or something. full discretion I've only been looking at serverless for a bit over a week though
cs-ms
@cs-ms:matrix.org
[m]
for my own question: I see the serverless debug reference says to use node-inspector which I think is deprecated. I've been struggling to get debugging working from vs code to my offline lambdas. I started referencing this stackoverflow but haven't gotten it totally working either. I'm able to debug from chrome at the serverless entry point, but I can't figure out how to get a breakpoint in my lambda code
Armand
@mim-Armand
Hi 👋
Does serverless create Cloud Resource Manager in Azure like it does with CloudFormation stacks in AWS?
cs-ms
@cs-ms:matrix.org
[m]
I've got a serverless project working offline with dynamo, but when I deploy to aws the lambda exits before the write happens. I've added log statements everywhere so I can see it is precisely at the write call that it fails. not sure how to debug this any further
4 replies
cs-ms
@cs-ms:matrix.org
[m]
is there a good way to reference the variable ${sls:stage} within actual code of a function? would I need to set it as a environment variable and reference it that way?
1 reply
cs-ms
@cs-ms:matrix.org
[m]
@jamesmoey: thanks for the feedback! first comment, I had both some async stuff wrong and some permissions, I got it sorted out though! I need to sort out some exception handling in my source.
I also figured out that I can reference environment variables and get the code completion I was looking for, it is working great!
now I'm trying to figure out how to export an arn on cfn build
James Moey
@jamesmoey
export?
cs-ms
@cs-ms:matrix.org
[m]
or actually, I'm trying to figure out how to export the api gateway endpoint url so I can do a find replace on the url it generates, it's basically a url shortener I'm building
it changes every time I do a clean deploy
James Moey
@jamesmoey
not sure if you can use outputs
cs-ms
@cs-ms:matrix.org
[m]
yeah I think you're right. the api is printed on console when I deploy, I just need to persist it to an evironment variable
James Moey
@jamesmoey
oh you need it in lambda?
cs-ms
@cs-ms:matrix.org
[m]
yeah
James Moey
@jamesmoey
use this plugin serverless-resources-env
cs-ms
@cs-ms:matrix.org
[m]
again, thanks so much for the help!
James Moey
@jamesmoey
no problem
cs-ms
@cs-ms:matrix.org
[m]
oh wow, yeah that plugin is exactly what I wanted
Syd
@sydneybrokeit_twitter
Is there a list of event types for GCP? The docs don't have a list.
Steffan-Ennis
@Steffan-Ennis
I'm having some issues finding the shape for the HttpAPI fn event type. Is there documentation hidden away for this?
specifically the authorizer key for serverless version 3. It doesn't recognise identitySource or resultTtlInSeconds like the http event
Steffan-Ennis
@Steffan-Ennis
never mind I've found it
Gareth McCumskey
@garethmcc
You could also just log out the event object to see what the data is that gets passed
Naveen Bharadwaj
@naveenbharadwaj_gitlab
Hello, have any of you come across this?
Cannot read file node_modules\express\node_modules\depd\package.json due to: EMFILE: too many open files
I'm trying to push a nodejs express app to lambdas
Paul J Barrett
@Paul-J-Barrett
I have a csharp serverless project for my apis. I need to add a lambda for the APIGatewayCustomAuthorizerResponse to setup the Oauth2 access to the APIs in the project. Is there a way to add this one lambda function as part of the project or should I just make a project just for that one lambda?
Also I failed to mention this is on AWS. We are using Google as the authorizer for this internal application.
Eduardo Hitek
@eduardohitek
Have anyone used Serverless + Golang and RabbitMQ trigger? I'm trying using the SQS Event but it comes empty.

```package main

import (
"context"
"log"
"os"

"github.com/aws/aws-lambda-go/events"
"github.com/aws/aws-lambda-go/lambda"

)

// Handler is our lambda handler invoked by the lambda.Start function call
func Handler(ctx context.Context, sqsEvent events.SQSEvent) error {
log.Println("SQS Event", sqsEvent)
for _, v := range sqsEvent.Records {
log.Println(v.Body)
}
return nil
}

func main() {
lambda.Start(Handler)
} ```

Eugene Aiken
@eugene-aiken-bytecode
Can anyone help me understand why I'm getting the following error when I try to invoke my function
Error: Call argument for function sf-2-at-pipeline-2-dev-salesforce is not a valid JSON object
    at Gaxios._request (/Users/eugene.aiken/sf_2_at_pipeline/node_modules/gaxios/build/src/gaxios.js:129:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async UserRefreshClient.requestAsync (/Users/eugene.aiken/sf_2_at_pipeline/node_modules/google-auth-library/build/src/auth/oauth2client.js:343:18)