alexcasalboni / aws-lambda-power-tuning

AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.
Apache License 2.0
5.41k stars 373 forks source link

I want to deploy power tuning project with npm serverless #138

Closed pbmugade closed 2 years ago

pbmugade commented 3 years ago

I am interested to deploy this project with serverless, do I need to manually convert template.yml to serveless.yml?

alexcasalboni commented 3 years ago

Hi @pbmugade! Thanks for asking :)

I'd recommend using the SAR application in your serverless.yml template. You can find an example here: https://medium.com/theburningmonk-com/how-to-include-serverless-repository-apps-in-serverless-yml-6d8233c5d684

Here's the SAR resource: https://github.com/alexcasalboni/aws-lambda-power-tuning/blob/master/scripts/deploy-sar-app.yml