by

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
Gareth McCumskey
@garethmcc
@sterling000 You need a serverless account. Can you enter serverless login and either login or create a new account?
sterling000
@sterling000
so weird, i did that in another project with serverless framework api's and it worked fine
it fixed it though
thanks
sterling000
@sterling000

to clarify, i started out following the full-stack tutorial on serverless.com/learn, and after creating that user-service, i was looking into adding a front-end to my project.

i moved the src folder, the package.json and the serverless.yml into a new subfolder called services/user-service and then got that deploying.

now i ran the serverless init vue-starter in the root of my project and started getting this error, even though i could still deploy the user-service.

That's when i tried creating a brand new project in a different workspace and tried sls init vue-starter from there and still had the issue

now it seems that running sls login from the new stand-alone vue-starter project has fixed the issue in my older project that has both the user-service and the vue-starter component in it
is the authentication stored in browser cookies or something?
or cached?
it seems the session is a bit finicky
Vince Fulco
@weisisheng
Hey gang, a noob at step functions using sls framework. I can find use of SNS with cloudwatch but not in specific steps. i have a 1st step which fetches toy data and then 2nd step adds to dynamodb table. i simply want an sns that data has come in the door. question #1-- is this correct? Resource: !GetAtt [topic name, arn] and question #2-- how do i pass through the data from step one to the new step 3 or don't i have to worry about it? I have grubbed around for answers.
Thanks in advance!
sterling000
@sterling000

tried adding a bucketName to my vue-starter component and now i'm getting this error from sls deploy.
Serverless » Error: Changing the bucket name from website-hxe0rkub to bsterling.ca will remove your infrastructure. Please remove it manually, change the bucket name, then re-deploy.

what steps are required to "remove it manually"? i went into s3, emptied the old bucket with the autogenerated name, deleted it, and then disabled and deleted the cloudfront distribution, the app from app.serverless.com and the route53 record referencing it. Can't figure out what i missed! Any ideas?

sterling000
@sterling000
it appears that the s3 web hosting still exists even if you empty and delete the s3 bucket?
i can reach http://website-hxe0rkub.s3-website-us-east-1.amazonaws.com/ but there are no buckets listed in s3
it appears that sls remove fixed it. the error message says "remove it manually" that message should be changed to "run sls remove and deploy again."
Gareth McCumskey
@garethmcc
@sterling000 My guess is that the bucket your vue-starter deployed to was not the same one you deleted an S3 bucket from.
Gareth McCumskey
@garethmcc
In other words, in different AWS accounts
sterling000
@sterling000
i only have one aws account, and there was only one bucket in s3 /shrug
matrixbot
@matrixbot

Roger Dogood Hi everyone,

I currently have an API gateway defined and deployed as described in the "share gateway and resources section" https://www.serverless.com/framework/docs/providers/aws/events/apigateway/#share-api-gateway-and-api-resources and I'd like to add openapi/swagger definitions at the individual lambda instead of the root shared gateway.

I can't find any examples or comments of anyone else doing this. Is it possible? Or would I need to define/update the openapi definition at the root API gateway?

Jordan Starcher
@jstarcher
Hi All, any thoughts on using FastAPI + Magnum over Flask for a new REST API in Lambda? I tried a few examples out and it works but not sure if anyone has any in-depth experience to report pros/cons?
matrixbot
@matrixbot

Roger Dogood > <@gitter_dturner_tech_twitter:matrix.org> /notify-all Hi everyone, I'm having a bit of a hiccup on using GetAtt with Serverless Framework. I'm using the shorthand for Get Attribute as mentioned in the CloudFormation docs but no matter what I do it says that this is an unknown tag and throws a YAML exception. I'm not new to CF or sls by any means... maybe I'm just too old?

Long story short, I have multiple resources in this serverless.yml template. I have to create a new security group to allow a bastion host (public subnet) to hit my RDS instance (private subnet) and need to open up the 3306 port. Should just need to get the GroupId of the new security group so I added DependsOn to the yaml to ensure order of operations. Nothing seems to be working out for me.

  `VPCSecurityGroups:
      !GetAtt DBSecurityGroup.GroupId`

I'm not the most experienced when it comes to Serverless Framework, but are you certain the shorthand !GetAtt works? Have you tried use the Fn::GetAtt variation?

    VPCSecurityGroups:
        Fn::GetAtt:
            - DBSecurityGroup
            - GroupId
2 replies
Roger Dogood * I'm not the most experienced when it comes to Serverless Framework, but are you certain the shorthand !GetAtt works? Have you tried use the Fn::GetAtt variation?
    VPCSecurityGroups:
        'Fn::GetAtt':
            - DBSecurityGroup
            - GroupId
matrixbot
@matrixbot

Roger Dogood > <@gitter_dturner_tech_twitter:matrix.org> Thanks Roger. I did use the long version as well. Ended up getting it to work again after several hours of smashing my head against the keys. The issue had to do with using VPCSecurityGroupIds with the RDS Cluster entry, not at the Instance level.

Oh awesome! Glad you were able to get it sorted out! So, in the end it was more about identifying the correct accessor for your GroupId?

skull_hacker
@dturner_tech_twitter

Roger Dogood > <@gitter_dturner_tech_twitter:matrix.org> Thanks Roger. I did use the long version as well. Ended up getting it to work again after several hours of smashing my head against the keys. The issue had to do with using VPCSecurityGroupIds with the RDS Cluster entry, not at the Instance level.

Oh awesome! Glad you were able to get it sorted out! So, in the end it was more about identifying the correct accessor for your GroupId?

The accessor was fine from the start. It was the wrong resource I was trying to extract the GroupId from. The serverless frameworks' exception messages are not terribly verbose without enabling debug and verbose modes.

matrixbot
@matrixbot

Roger Dogood > <@gitter_dturner_tech_twitter:matrix.org> > Roger Dogood > <@gitter_dturner_tech_twitter:matrix.org> Thanks Roger. I did use the long version as well. Ended up getting it to work again after several hours of smashing my head against the keys. The issue had to do with using VPCSecurityGroupIds with the RDS Cluster entry, not at the Instance level.

Oh awesome! Glad you were able to get it sorted out! So, in the end it was more about identifying the correct accessor for your GroupId?

The accessor was fine from the start. It was the wrong resource I was trying to extract the GroupId from. The serverless frameworks' exception messages are not terribly verbose without enabling debug and verbose modes.

Ahh! That makes so much sense! Yeah, the default error output is pretty unhelpful! Well, glad you were able to figure it out!

Sasha Sklar
@sashasklar
I've got a weird one. I've defined a handler in serverless.yml and I get the "errorType": "Runtime.HandlerNotFound" error when I invoke the function. So obviously my path is wrong, I change it and run again. I get the error again, but it's still the old path...
I've closed and reopened the session
is there some sort of local cache I can clear?
Gareth McCumskey
@garethmcc
@sashasklar Did you re-deploy before running serverless invoke again?
Sasha Sklar
@sashasklar
disregard forgot local argument
yeesh
wow I feel dumb, can I blame covid?
Gareth McCumskey
@garethmcc
Forgotten .... sorry .. what were we talkng about again
garethmcc @garethmcc wanders off oblivious
Sasha Sklar
@sashasklar
:pray:
David Lopez
@lopezdp
@csjohn Here is my solution to handle cognito with server less: https://stackoverflow.com/a/59973837/3879359
Buamod
@Ibuamod_twitter
What does peer mean here npm WARN serverless-offline@6.5.0 requires a peer of serverless@>=1.60.0 but none is installed. You must install peer dependencies yourself
ram grandhi
@ramgrandhi
Hi all 👋
I am looking forward to use ALB Events to be supported as a part of this plugin.
Is there a hope near by? Is it on this community’s radar ?
Gareth McCumskey
@garethmcc
matrixbot
@matrixbot

adan_geno Hi every body,
check out this new platform wirtten in Angluar

https://nearventur.com

ram grandhi
@ramgrandhi
@garethmcc - Thank you for the link!
Karthik Vemula
@karthik_vemula_twitter
I have some ssm parameters i need to fetch into environment variables in lambda and its working fine, but the ssm parameter path itself has lifecycle in it, so I am not able to use the opt.stage inside ssm reference so for each stage, the appropriate ssm value is entered
example: API_URL: ${ssm:/product/dev/api_url} - this works
this does not work - API_URL: ${ssm:/signet/${opt:stage}/api_url}
How can i reference a variable inside another one
Frank Lemanschik
@frank-dspeed
you can not
simply use the variables indipendent
var inside var is not possible
even not in many other systems for example linux
in bash you would need to interpret the same var twice to get the full result and only with clever syntax
Tim Stackhouse
@tstackhouse
I have a couple lambdas configured, one that sets a cookie, and one that is supposed to read it. I see the cookie get set, and it gets sent when I call the read function, but when the get function runs, event.headers.Cookie isn't there. I'm sure I'm setting something wrong in my serverless.yml, but the docs and googling have been pretty fruitless :/ Here's the relevant piece of my serverless.yml: https://gist.github.com/tstackhouse/466e33356cb08c3d29776011424f88e0
Tim Stackhouse
@tstackhouse
Nevermind. I'm a dummy. The code that reads the cookie was looking at event.headers.cookie not event.headers.Cookie. Thanks other dev on my team :D