aws-lambda 2017-10-16

Anybody have good tips and tools for developing lambda functions locally?

@juliobarros during my small amount of experimenting, I had success with https://serverless.com/ and using its ability to invoke the hooks locally

Thanks @lucasbradstreet I think I’m going to use their YAML. It seems easier/better than SAM right now. Do you mean invoking the functions on aws? I was hoping someone had created a ring adapter or pattern or blog post so I could develop locally and then push up to aws.

I meant invoking the function locally - no communication to aws required.

Oh, thats interesting. I may be mission something though … or I forgot to say I want to invoke it through the API gateway so need/want something to mimic that. Does the serverless framework do that?

Ah, I’m not sure if it does that. I think it just calls the handler directly with your event

So you have to make sure to synthesize the event properly

It may support something similar though.

I don’t know it / haven’t used lambda enough to say.

Ok. Thanks. I just wanted to make sure I wasn’t missing anything obvious.