dimanche 4 novembre 2018

Is it possible to push test events to AWS Lambda with the Serverless Framework?

I'm using the Serverless Framework to push to AWS Lambda. To test my functions, I'm currently just using the Lambda console to add each method, which is getting rather tedious, and I would like to have a way to push them along side with the code with serverless deploy.

enter image description here

I've found this reference on the Serverless method for testing locally, but it doesn't seem to deploy those test events to Lambda.

Ideally, I'd like to be able to to do this in Serverless, but if there a way to do it via aws-cli it might be a good option too.

Aucun commentaire:

Enregistrer un commentaire