News for hackers. Stuff that matters.
Re:Serverless Development with Serverless Framework by snypox on Monday December 09, 2019 @06:20AM (#21741772)
Since I got to know CDK[0], I prefer it over serverless. It's supported by AWS, too. It can deploy your lambda, or it an just generate a Cloudformation template - these 2 covers the most important features of serverless that our team uses.

[0]https://github.com/aws/aws-cdk/tree/v1.18.0/packages/%40aws-...

Re:Serverless Development with Serverless Framework by nailer on Monday December 09, 2019 @07:04AM (#21741936)
I like Architect serverless - https://arc.codes. A .arc file is way less boilerplate than a serverless.yaml and it outputs full CloudFormation. Also has awesome async middleware (heads up I wrote the awesome async middleware).
Re:Serverless Development with Serverless Framework by jakelazaroff on Monday December 09, 2019 @10:42AM (#21743524)
I've used Up [1] before but this looks even better. Thank you for the recommendation!

[1] https://apex.sh/up

Re:Serverless Development with Serverless Framework by snypox on Monday December 09, 2019 @03:44PM (#21746342)
Cool fact: this was created by the creator of Express and Koa! https://github.com/tj
Re:Serverless Development with Serverless Framework by Bombthecat on Monday December 09, 2019 @07:19AM (#21741994)
And now we have azure arc...
Re:Serverless Development with Serverless Framework by eranation on Monday December 09, 2019 @12:25PM (#21744422)
I found CDK to be exactly what I was looking for. I found myself using either CDK or Amplify (or both) for new serverless projects. It’s now really infrastructure as code, not infrastructure as yaml files.
Re:Serverless Development with Serverless Framework by scrollaway on Monday December 09, 2019 @06:37AM (#21741842)
Can you elaborate on why you prefer it?
Re:Serverless Development with Serverless Framework by cmsd2 on Monday December 09, 2019 @07:19AM (#21741993)
I like CDK because: 1. it's type-checked (using your choice of language/compiler) 2. modularity is done using in-app code, rather than extending serverless with plugins in javascript 3. i think cdk scales better to projects composed of multiple stacks 4. it's somewhat testable
Re:Serverless Development with Serverless Framework by snypox on Monday December 09, 2019 @09:36AM (#21742955)
As the fellow commenter said: I mainly like the power of a programming language (loops, variables, organizing file and directory structure).
Re:Serverless Development with Serverless Framework by Aeolun on Monday December 09, 2019 @09:37AM (#21742964)
As long as it outputs cloudformation I want nothing to do with it.
Re:Serverless Development with Serverless Framework by snypox on Monday December 09, 2019 @03:42PM (#21746326)
You need to store state somehow - either Terraform or Cloudformation, you don’t have that many options. And CDK hides the Cloudformation layer from you.