Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 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
Joel F. Ruelos Jr.
How can I create the serverless-dynamodb-local table without specifying it in the serverless config resource section? reason is that, the table definition is configured in separate repository. I was trying to put in migrations but no luck
Vitalii Kh.
Hi to all. I have a question and it will be nice if someone could help me with it.
After deploying the S3 bucket has been tracked by the serverless. The bucket name can be found in the property ServerlessDeploymentBucketName of output from the command sls info -v
So, the question is where is this bucket name is storing? How I can erase it and do the deployment again from scratch for the same project?
Guy S

Any idea why using Fn:GetAtt in custom var and then using it as stream arn would result in this error:

Serverless: Configuration warning:
Serverless: at 'functions.test.events[0].stream': unrecognized property 'Fn::GetAtt'


Guy S
arn: { "Fn::GetAtt": ["demo", "StreamArn"] }
Guy S
Any chance it's not possible to use GetAtt in custom vars?
Justin Turner Arthur
I think there’s been a long-standing bug with Serverless Framework trying to interpret Fn::GetAtt instead of passing it through to the CloudFormation layer.
Try using AWS’ shorthand instead to bypass Serverless Framework:
!GettAtt demo.StreamArn @guyschlider
Aanu Olakunle
Help.... AM getting this. "Cannot resolve serverless.yml: "provider.profile" property is not accessible"
Anyone have good resources to get started with serverless framework? I'm interested in using it with image processing at scale
Emdadul Haque
Hello All, I'm using the wsgi-serverless plugin to create a Flask api. When deploy the app it successfully deploys, but if I try to hit a simple hello-world endpoint it returns an internal server error with no stack trace and doesn't log anything to cloudwatch. Any suggestions?
Hey everybody, when writing a plugin, I've read where this.serverless.variables.populateService calls the old variable resolver. However, I cannot find any information on how to populate the service with the new variable resolver (i.e. variablesResolutionMode: 20210326). Anybody point me in the right direction?
Hi, im trying to test a statemachine locally and getting this error
2022-03-11 08:23:28.676: arn:aws:states:us-east-2:123456789012:execution:CreateImageList:test : {"Type":"LambdaFunctionFailed","PreviousEventId":4,"LambdaFunctionFailedEventDetails":{"Error":"Lambda.ResourceNotFoundException","Cause":"Function not found: arn:aws:lambda:us-east-2:142339138776:function:CreaeteS3ImageList (Service: AWSLambda; Status Code: 404; Error Code: ResourceNotFoundException; Request ID: cfebcd4e-4e7d-4fad-be34-a313c8b9b089; Proxy: null)"}}
can someone help
Probably need to let us know "how" you are testing it locally. Invoking it with sls? If so, what's your CLI? What does the output of SLS_DEBUG=* sls ..... show when you run your command? Should you be using serverless-offline to test locally rather than AWS?
Abin Joseph
Hi me i know how to use AWS secret maneger object as environment veritable in lambda using serveless framework version 3
Andrew Emil
Hi! I'm noticing that some devdependencies are not being excluded from our package. As an example, I see eslint in the node_modules dir of the package, but that definitely is configured as a devdependency in our package.json files. I'm sure I'm doing something wrong - does anybody have a recommendation into how I can get more insight into the way that serverless excludes dev dependencies?
Andrew Emil

Just as further information. If I open the package dir and unzip the code and run npm ls, I see a large number of extranious packages. I can confirm that these packages are 1. in the node_modules dir 2. not specified by the package.json file as dependencies 3. not required for execution of my application.

(serverless package --package out && cd out && unzip myservice.zip && npm ls)

I'm going to try to manually remove these and create the zip, then deploy that
Andrew Emil
Manually removing these packages worked, indicating that they are not required. I'm guessing this is a bug in serverless, I'll open a github issue.
Thiago Cardoso
hello everybody, does anyone ever needed to delay an sqs message delivery for more than 1 hour? I need to do that and I'm thinking what can I do to accomplish that. May I use Cloudwatch Events to do this?
hi guys, is there anyway to debug the serverless java apis locally using intelliJ or the remote debugging?
Osama Salama
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
Hello is this still the most active serverless community? I've also seen rumours of a Slack and/or Forum?
Jakub Langr
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
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

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:

      Type: AWS::Lambda::LayerVersion
          S3Bucket: ${myresolver:bucket, ''}
          S3Key: ${myresolver:key, ''}
          S3ObjectVersion: ${myresolver:objectVersion}
@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

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
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
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
curious if anyone has opinions or examples on using ORM to set up dynamo from a serverless typescript project?
1 reply
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
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)?
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
Hi. Is there a place where I can read a description of each "serverless create" template.
2 replies
Victor Villacis
how can I use RDS as a resource all the guides I read are specific to DynamoDB?
@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
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
Hi 👋
Does serverless create Cloud Resource Manager in Azure like it does with CloudFormation stacks in AWS?
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
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
@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
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