I want to backup my configured lambdas in AWS. I already searched online but not mention of how to do this Any idea how to implement this?
Thanks
(a bit late)
Go to drop down menu "actions", select "export function", then choose "download aws sam file", this will give you a YAML file to use in AWS CloudFormation, then choose the other option "download deployment package".
Now that you have these 2 files you can recreate the Lambda Function as follows:, 1) use the YAML file in CloudFormation, 2) Once you have the function re-created upload the zip package.
Bear in mind that if you have triggers, i.e: Api Gateway, you have to add them manually. Perhaps there is a better way to do this but so far this has worked for me.
Versioning
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With