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
Cyril Scetbon
@cscetbon
I just checked and it is in the template so it should be set
Cyril Scetbon
@cscetbon
when using variable templates if there a way to say if prod then x else y ?
Mukesh9092
@Mukesh9092

Can someone help me what to pass secretName and secretKey in below serverless file.

functions:
myFunction:
handler: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display:latest
events:

  - awsSqs:
      secretName: aws-credentials
      secretKey: credentials
      queue: QUEUE_URL
Gurkiran Singh
@Gurkiran-Singh

Hi,
I am new to Serverless.
I just want to know if there is any way around that we can create s3 buckets using serverless if else plugin.

What I am trying to achieve is that I want to create new s3 buckets as per Stage I gave in if else statement.

Fr example if script(serverless.yml) runs in production stage it should create different s3 bucket and if script runs in development stage then it should create different bucket according to if else statement.

Please let me know if there is any way around to achieve this.

1 reply
Frank Lemanschik
@frank-dspeed
there are tons of ways for that you can use variables all over the place yml supports even environment variables out of the box
1 reply
you should start learning yml all the basics about it how it gets interpreted and that
this will give you the best learning boost as you will work with yml more often and that applys to every software that uses it
Benjamin Burns
@benjamincburns
Can azure functions defined via the serverless framework be easily triggered by events from event grid? If so, is there an abstraction for this?
matrixbot
@matrixbot
gsb19 Hi all, I'm new to serverless. Looking for python compatible frameworks that don't require AWS.
Both long running and short-lived processes are interesting.
Any pointers would be appreciated. Thanks!
Harshit Chhipa
@HarshitChhipa
Screenshot 2020-11-19 at 2.24.41 PM.png
Just installed serverless on my mac and getting this error when i run serverless --version
any idea how to solve it?
any help will appreciate.
Daniil
@reflash
@HarshitChhipa what nodejs version is installed on your machine?
Has anyone faced a problem with the framework excluding dependencies that are used actually? I get error when I deploy to Azure because lots of packages are missing
Harshit Chhipa
@HarshitChhipa
@reflash I have node version 13.5.0.
Rohan Kapur
@RohanKapurDEV
If I don't use the serverless dashboard and simply use AWS for all my lambda function deployments via the serverless framework, is there a limit on the amount of functions I can deploy? Are there any limitations of any kind that occur solely as a result of me using the serverless framework?
1 reply
I'm sorry if thats a bad question. I'm really new to serverless rn and I'm just trying to figure things out
Stanislav Hordiyenko
@stashordiyenko_twitter
Hi, is there any way to run custom commands in docker before deploying lambda function to AWS? I need to build python dependencies in docker image and do some tweaks before deployed. Is there anyway to do this the right way?
2 replies
matrixbot
@matrixbot
gsb19 Anyone here with https://fnproject.io/ experience? I would like to know if it's worth my time and effort. Thanks
Lawrence Wagerfield
@ljwagerfield
What happens if two developers run serverless deploy on a project in parallel, each with different change sets?
2 replies
Harshit Chhipa
@HarshitChhipa
I am getting "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details." when I am doing sls deploy now the thing is when I am creating a new project from serverless's dashboard and deploy it is happening in a snap now I am not getting what's wrong.
Any suggestion of if anyone else faced this.
thomas-corll-avalara
@thomas-corll-avalara
This mostly happens when your system clock is out of sync with aws's clock. I have fixed this with updating my computers clock.
Ryan Dammrose
@maplion
Does anyone know if it is possible to use a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the Serverless Framework?
Adam Palaniuk
@apalaniuk
00rplaces
P00rplaces
jugglingjsons
@jugglingjsons
Hey! I know I can set a custom CFR role in my yml template, but could I also set a separate profile to be used for the CFR? similar to what happens when I use profile key in the provider description ?
econtentmaps
@econtentmaps
Noob quetion but I'd like to use a lambda to provision a custom serverless template into my AWS account and I can't find any advice on if this is possible and, if so, how to do it? The idea is to provision tenant infrastructure automatically (e.g. s3 bucket, api endpoint etc).
jugglingjsons
@jugglingjsons
@econtentmaps possible, but you will have elevated permissions on the lambda, not sure if you can provision everything though.If you plan to have such a function keep it in internal VPC, with no servers other than your own accessing it.
prabhat-github
@prabhat-github
Hi All,
I am facing issue as under:
Access to XMLHttpRequest at '{API Gateway-Lambda-NodejsExpress API url}' from origin '{S3 hosted site url}' has been blocked by CORS policy: Request header field token is not allowed by Access-Control-Allow-Headers in preflight response.
lululala
@lustan3216

hi~ I got this error on any sls command, like sls config
"Your AWS credential for deployment profile default is configured to use the IAM role arn:aws:iam::1234567:role/amplify-asd-dev-130043-authRole, but access to that role was denied by IAM. - Please contact support and provide this identifier to reference this issue"

but this role is used by aws-cognito, does someone has any idea??

orasis
@orasis
Just announced - Docker containers in Lambda. I hope Serverless adds support for this very quickly: https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/
Brad Murray
@bradmurray
And 1ms billing as well
Gareth McCumskey
@garethmcc
Both very exciting
Charlie Deuter
@CharlieEarnup
when SLS pushes a new cloudformation stack it'll wipe out any changes to Environment Variables / VPC settings that had been added in the console right?
Sushant Gautam
@iamsush
Getting following issue. Please help!!
An error occurred: ServerLambdaFunction - AccessDeniedExceptionnull (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: c1cc9b63-6314-40a8-8103-5151810f38ba; Proxy: null).
Donald Wu
@yeukfei02
@iamsush this is your aws iam permission issue/u didnt create the lambda function
go login aws console to check
Sushant Gautam
@iamsush
Thanks, it has been fixed now :)
clmn
@JacksonGariety
What's the best way to migrate/transform the structure of DynamoDB data? Say, for example, that I need to rename a field of a document?
image.png
and getting this error:
Configuration warning at 'functions.seo.events[0]': unsupported function event
functions:
  seo:
    handler: handler.main
    events:
      - preExistingCloudFront:
        distributionId: [scrubbed] 
        eventType: origin-response
        pathPattern: "*"
        includeBody: false
ideally, what im trying to achieve is the ability to deploy my lambda function from command line, and not have to go into AWS at all to deploy/publish/connect my cloudfront distribution to a new lambda function version
Adam Hauer
@case12
i figured this out. forgot to add a line to plugins 🙄
plugins:
  - serverless-lambda-edge-pre-existing-cloudfront
Mike James
@export-mike

hey! anyone managed to use serverless as a full HTTP proxy?

given URL, map the request to the upstream server, adding headers and mapping cookies, URLs in HTML etc to the proxy URLs?