How does CodePipeline support manual approval stages, and why are they useful in a CI/CD process?
Short answer
CodePipeline supports adding a manual approval action within a pipeline stage, which pauses the pipeline's execution until a designated person or team explicitly approves or rejects the release, which is commonly used before deploying to a production environment, giving a human…
Advertisement
AModel answer
CodePipeline supports adding a manual approval action within a pipeline stage, which pauses the pipeline's execution until a designated person or team explicitly approves or rejects the release, which is commonly used before deploying to a production environment, giving a human the opportunity to review test results, release notes, or perform final checks before changes reach real customers, combining automation speed with important human oversight.
aws codepipeline put-approval-result --pipeline-name my-pipeline --stage-name Approval --action-name ManualApproval --result 'summary=Approved,status=Approved' --token abc123Real-world example
A company's deployment pipeline pauses after successfully deploying to a staging environment, requiring a release manager to manually review and approve the change before CodePipeline proceeds to deploy the exact same build to production.
Likely follow-ups
- How can you set up SNS notifications when a pipeline reaches a manual approval stage?
- Can approval permissions be restricted to specific IAM users or roles?
Related topics