We now need to save the changes we’ve made to the file and deploy the new version of our controller. Select the “Save All” option from the “File” menu in Cloud9. Then, issue the following commands from the terminal window of Cloud9 to commit our changes and fire off the deployment of our new version.
cd /home/ec2-user/environment/saas-factory-serverless-workshop/
git add .
git commit -m “Added annotation to deleteProduct"
git push
Committing this change will automatically cause the CodePipeline to trigger a build and deployment of the new product service that includes your changed function.