We have reviewed the phases of our pipeline. Let’s execute it! We will execute our pipeline manually, but it can execute automatically when the code has been updated.
Click on the Release change button. This will cause the pipeline to execute.
The CodePipeline console will automatically show the progress of the build. For each phase, you can click on the Details link to see the CodeBuild logs. Do this for the Build phase.
Scroll down through the log to see the build output. Notice the Lacework scan output and the vulnerabilities found.
Go back and view the logs for the Deploy phase. For ECS deployment, we provide an imagedefinitions.json with the updated image and tag. This updates the ECS task definition. You can learn more about imagedefinitions.json here.