A developer is configuring a continuous delivery pipeline in AWS CodePipeline to deploy a serverless web application. The pipeline needs to pause automatically after the test stage and wait for a QA manager to review the test results before deploying to the production stage. Which of the following is the correct configuration to implement this manual approval step?
- Add a manual approval action to a stage in the pipeline before the production deployment action, and optionally configure an Amazon SNS topic for notifications.Cevap
- BStore the approval state as a SecureString parameter in Systems Manager Parameter Store, and write a script in the build stage to poll for its value.
- CModify the trust policy of the IAM service role for CodePipeline to allow the QA manager's IAM user to assume the role and resume the pipeline.
- DPlace a build spec file in a subdirectory of the source repository with instructions to pause the CodeBuild container execution until an approval webhook is called.
Cevap
Add a manual approval action to a stage in the pipeline before the production deployment action, and optionally configure an Amazon SNS topic for notifications.
The correct answer provides the standard, native method for introducing a human review step in AWS CodePipeline. The Manual Approval action type natively pauses the pipeline execution without consuming compute resources, and integrates with Amazon SNS to notify the reviewers.
Adım Adım Çözüm
Anahtar Kavram
AWS CodePipeline manual approval actions allow a pipeline execution to be paused at a specific stage until approval is received.