Trigger a new release

In order for the build to succeed, we can go to the Aqua Console and modify the Assurance policy that we created previously. Modify assurance

Once you have modified the policy go back to the CodePipeline in the Management Console. On the details page for our CodePipeline, click on Release Change to trigger a new pipeline. Trigger pipeline

Notice this time, the pipeline succeeds. Build success

Since the pipeline has succeeded, the application also has been successfully deployed to the Amazon EKS cluster. Check out the output of the following command in the Cloud9 IDE

kubectl get pods

kubectl output

You can also check out in the Aqua Console that the application has also been deployed, by clicking on Risk Explorer. application