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
Aanu Olakunle
@Aanu1995
Help.... AM getting this. "Cannot resolve serverless.yml: "provider.profile" property is not accessible"
legut2
@legut2
Anyone have good resources to get started with serverless framework? I'm interested in using it with image processing at scale
Emdadul Haque
@Rafat97
selected-pixel-jameson
@selected-pixel-jameson
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?
af-mikecrowe
@af-mikecrowe
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?
esisnem
@esisnem
@esisnem
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
af-mikecrowe
@af-mikecrowe
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
@abjs
Hi me i know how to use AWS secret maneger object as environment veritable in lambda using serveless framework version 3
Andrew Emil
@AndrewCEmil
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
@AndrewCEmil

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
@AndrewCEmil
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
@thiagocardoso1988
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?
Prakash
@PrakashGoulla
hi guys, is there anyway to debug the serverless java apis locally using intelliJ or the remote debugging?
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!