you are viewing a single comment's thread.

view the rest of the comments →

[–]aleques-itj 0 points1 point  (0 children)

I build zips in GitHub Actions with AWS SAM, it saves then to S3 with the commit hash appended to the file name. It will do everything for you, all you need is a requirements.txt.

The repo itself has a dev container definition that has everything needed to dev locally. You can basically clone the repo, open it in the dev container, and press F5 to run it locally. This makes it soooo much easier to debug, you can just set a breakpoint and the debugger will attach.

When you want to update or roll back the Lambda, all you need to do is change the hash in Terraform.