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
Praneet Rattan
@praneetrattan
Hello! I anyone else having issues recving slack alert notifications in case of invocation failures? We have had our setup for the past year, and after Jan 26th we haven't recvd any alerts. I added a new notification channel but yet no avail!
Any help would be appreciated.
catastrophicsoftware
@catastrophicsoftware
image.png
Shouldn't there be arm templates in the template store? I cannot for the life of me find any arm templates. But I am seeing that they should exist
Kevin Mitchell
@kevin-mitchell

Hi all! QQ: re: serverless-offline- it's been a while tbqh since I've looked at / used serverless, but it used to be that (at least in theory!) serverless-offline supported more vendors than AWS. I am specifically interested in IBM OpenWhisk, and more specifically I want to get OpenWhisk running locally / "offline" along with TypeScript transpilation. I've had this working in the past (~2 years ago) with a bit of work (I had to fork the serverless-typescript-plugin to add sequence support at the time - https://github.com/kevin-mitchell/serverless-plugin-typescript/tree/develpr/add-openwhisk-sequence-support).... but now it seems like the serverless offline stuff is really only geared towards use with AWS?

That's a lot of words, sorry I could have probably said this in a sentence. I can't help add color sometimes!

jptcnde
@jptcnde
hello there, needs help, any recommendation and guide on how to increase performance for my lambda? like caching? please link sample code or config also,
sathishmohan-ps
@sathishmohan-ps
Hi All,
Could someone point me to the template for Azure Functions Nodejs TypeScript version using Serverless ?
Thanks in Advance !!!
Pedro Gomes
@Lusitaniae

Serverless: Checking deployment create progress...
.
Error --------------------------------------------------

Error: Deployment failed: RESOURCE_ERROR

   {"ResourceType":"storage.v1.bucket","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"errors":[{"domain":"global","message":"Invalid Value","reason":"invalid"}],"message":"Invalid Value","statusMessage":"Bad Request","requestPath":"https://storage.googleapis.com/storage/v1/b","httpMethod":"POST"}}
I keep getting this error, I tried changing service name a few times (possible name collusion from what I read on GH issues?)
service name is just word-word-word-word no strange characters
Pedro Gomes
@Lusitaniae
finally find out, I was writing the wrong region name, from looking at deployment manager logs
clmn
@JacksonGariety
How do I organize my resources in AWS? I want to group them into projects and set my budget by project. Or is it easier to create multiple AWS accounts?
clmn
@JacksonGariety
It looks like you can create tags and break down your AWS receipt by tag. But how do you tag your resources in serverless?
Andreas Kohn
@ankon
@JacksonGariety it depends on the type of resource. You can use serverless' stackTags (see https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/), and most AWS resources have a way to also specify per-resource tags (see the CloudFormation documentation for the resources in question). Some AWS resources do not support tagging (yet).
jugglingjsons
@jugglingjsons
Hey! How do I refer an arn of a fucntion within the serverless.yml file /
I want to create a role with permissions to invoke a lambda, without explicitly passing strings in. I mean If I can't use arn I can compose it differently, but I would rather have the ARN / Name there somehwo
Andreas Kohn
@ankon
From top of my head: You should be able use !Ref/!GetAtt on the resource "MyFunctionNameLambdaFunction"
jugglingjsons
@jugglingjsons
Thanks! Forgot bout the suffix, that's great: )
Ellery Familia
@ElleryFamilia_twitter
To switch from HTTP API to REST API, is the only change needed to change the event type from httpApi to http? Will domain manager work the same way?
Gareth McCumskey
@garethmcc
@ElleryFamilia_twitter It may not.. I'd suggest experimenting in some form of dev environment to check first
Simi
@kaurthing_twitter

We have 2-factor authentication set up in the AWS account. sls deploy command thus asks for the MFA code. How to run the deployment in non-interactive mode when MFA is enabled?

For ex:

lerna run

command does not support user input. Similarly, if this was to run in CI/CD, interactivity won’t be possible. How is this handled. What’s the best way to manage this in serverless framework with sls deploy command?

Ellery Familia
@ElleryFamilia_twitter

We have 2-factor authentication set up in the AWS account. sls deploy command thus asks for the MFA code. How to run the deployment in non-interactive mode when MFA is enabled?

For ex:

lerna run

command does not support user input. Similarly, if this was to run in CI/CD, interactivity won’t be possible. How is this handled. What’s the best way to manage this in serverless framework with sls deploy command?

Did you add AWS as a provider on serverless? I also have 2-factor on but have never been asked to provide an MFA code when deploying

drixone-coder
@drixone-coder
has anyone ever taken a canary deployment project with serverless before??
i have been assigned a task to do so.Dont know if any of you have ideas?
Gareth McCumskey
@garethmcc
Steve Willard
@stevewillard

👋 Hi everyone! We’re excited to announce that ⚡️ Serverless Desktop ⚡️ is in beta. Check it out here: https://github.com/serverless/desktop

Serverless Desktop is a GUI client designed to streamline your Serverless dev workflow. A few highlights:

  • Invoke functions via HTTP or directly
  • Stream logs in real time
  • Watch for function changes, and auto re-deploy
  • Save queries, and share them with teammates
  • A simple DynamoDB table viewer and editor
  • A simple S3 bucket viewer

We would love your feedback to help us build something you love. Please take 2 minutes to answer these 4 questions.

Andreas Kohn
@ankon
:confused: the repo says MIT licensed, but there's only a macOS(?) binary and no sources?
Steve Willard
@stevewillard
@ankon Hi there. The license was added by mistake - thanks for pointing that out. Desktop, for now, is closed source. We have plans to release Windows and Linux binaries in the near future.
Ellery Familia
@ElleryFamilia_twitter
@stevewillard No way to login with my serverless user/pass
Steve Willard
@stevewillard
@ElleryFamilia_twitter Username/password (non-social auth) is coming soon. But, you can actually login via the CLI. Desktop and the CLI share the same session.
Ellery Familia
@ElleryFamilia_twitter
got it… I was already logged in to CLI, so just had to run the sls login command again and it worked
asking for me to connect my AWS account, although it’s already connected
Steve Willard
@stevewillard
At the moment, Desktop asks you to create a new, dedicated IAM Role for your account(s). Out of curiosity, do you already have a Serverless Provider configured?
Ellery Familia
@ElleryFamilia_twitter
Yes, I have a provider configured
Gareth McCumskey
@garethmcc
@ElleryFamilia_twitter This is because we actuially aim to have desktop be seperate from what you usually use to deploy with and the permissions needed would be managed directly by desktop itself so that we will, in future, create IAM permissions with the bare minimum needed, but we don't want to interfere with the permissions your other services needed or depend on those.
Ellery Familia
@ElleryFamilia_twitter
So you’re saying that if I connect the same AWS Provider on desktop as I have on your website, there’s a chance of a collision or potential issues with deployments? Is Desktop only for folks startign anew not planning on using web/cli?
Steve Willard
@stevewillard
The AWS Provider used for deployments is independent of the one used for Desktop, so there is no chance of collision. Desktop is for any Serverless user, which includes non-dashboard (web) users.
Gareth McCumskey
@garethmcc
@ElleryFamilia_twitter And not a collision, just that in future the permissions set in the desktop IAM role may not be sufficient to use for deploying your AWS services as we will be attempting to ensure minimal IAM permissions in future
Alexander Mills
@agjmills1_twitter
hi, I'm new to serverless framework and I have a few noobish questions. Why do I have the dependency of serverless-python-requirements and serverless-wsgi from npm? How are they used under the hood?
1 reply
^ meant to add, when writing serverless endpoints in Python for AWS Lambda
Alexander Mills
@agjmills1_twitter
is there a way of generating application scaffolding from an openapi spec?
clmn
@JacksonGariety
d36f2685bg2d5j.cloudfront.net
clmn
@JacksonGariety
How can I get the CloudFront distribution ID in my serverless template?
rwh2Moen
@rwh2Moen
HI all, I have what I hope is an easy question. For serverless, can I use native CloudFormation. The reason I ask is because Serverless does not appear to support AWS Pinpoint. thanks
rwh2Moen
@rwh2Moen
I just figured it out. Thanks.
Omri Haim
@omrihaim
Hi everyone. I am new to serverless.com. Does anyone knows how can we use AWS lambda example that isn't available as one of serverless existing examples?
6 replies
drixone-coder
@drixone-coder

Serverless: Configuration warning:
Serverless: at 'service': unrecognized property 'package'
Serverless: at 'resources.Resources.SPoGOrderManagementUpdateQueue.DependsOn': should be array
Serverless: at 'resources.Resources.SPoGOrderManagementCreateQueue.DependsOn': should be array
Serverless: at 'resources.Resources.SPoGOrderManagementAckPaymentInfoQueue.DependsOn': should be array

Hi guys so i found this error while trying to sls deploy .i don't know what this could be .Has anyone had any issue like this?

4 replies
Simi
@kaurthing_twitter
How to do a logical not in serverless .yml file?
something like enable: !${self:custom.log.disable}
Gareth McCumskey
@garethmcc
@kaurthing_twitter Could you share the problem you are trying to solve? A logical not is not available but there is usually another way to solve these issues
rwh2Moen
@rwh2Moen

hi All, I am wondering if you might be able to help with a problem of custom _env files not getting their values read?

deploy line
sls deploy --region ca-central-1 --stage dev

serverless.yml
custom: ${{file(serverless/config/custom_${{self:provider.stage}}.yml)}}

custom_dev.yml
APPLE_AUTH_METHOD: get this from Apple/Miguel APPLE_PVT_KEY: get this from Apple/Miguel

service.yml

SnsGoogleAlertPinpointChannel: Type: AWS::Pinpoint::GCMChannel Description: Google (Android) SNS Push Notifications Channel for sending Alerts and Notifications to the user Properties: ApiKey: ${{self:provider.environment.GOOGLE_API_KEY}} ApplicationId: ${{self:provider.environment.PP_APP_NAME}} Enabled: true