In this chapter, we looked at how to automate the deployment process using Gradle and CloudFormation. We modified our Gradle script to build all the artifacts automatically and deploy them to the S3 bucket, and finally, we created a Lambda function using CloudFormation.
In the next chapter, we will modify our Lambda function to respond to HTTP requests. We will introduce API Gateway and further develop our CloudFormation template to leverage the versioning feature of Lambda and API Gateway for the rollback ability we will bring in the future.