How to Build and Verify an Application using AWS Codepipeline and Creating Custom Events with lambda2022-07-19
Steps to deploy an application with AWS code pipeline:
Now It’ll run the test cases and verify it. Return success message if the test cases are passed otherwise returns failed message
We need to add an AWS Lambda service to create a custom event for sending notification emails if application status returns 200.
Steps to create a lambda service:
install boto -t . -- This will install the requirements with in the folder. cd /mails/ zip -r -D mails.zip *
Now we need to link aws lambda to the aws codepipeline. For that click on edit in the pipeline view page.