Building Serverless Python Web Services with Zappa
上QQ阅读APP看书,第一时间看更新

Rollback

AWS Lambda maintains the revision of your deployments. You can rollback to the previously deployed version by providing a revision number, as shown here:

$ zappa rollback production -n 3

This will simply revert the Lambda code with the previously uploaded archived ZIP.