A developer is managing a release pipeline in AWS CodePipeline that contains Source, Build, and Deploy stages. The developer wants to temporarily prevent new builds from automatically entering the Deploy stage while a production issue is being investigated, without stopping or deleting the pipeline. Which action should the developer take to meet this requirement?
- AModify the trust policy of the CodePipeline service role to deny the permissions required to run the Deploy stage.
- Disable the transition between the Build stage and the Deploy stage in CodePipeline.Cevap
- CStore a configuration parameter in AWS Systems Manager Parameter Store to control the Deploy stage status.
- DModify the KMS key policy for the artifact S3 bucket to deny decryption rights to the Deploy stage action.
Cevap
Disable the transition between the Build stage and the Deploy stage in CodePipeline.
Disabling the transition between stages in AWS CodePipeline prevents executions from moving from the upstream stage (Build) to the downstream stage (Deploy). This is the standard, built-in feature designed specifically for this purpose, allowing executions to compile and build while holding them before the deploy phase.
Adım Adım Çözüm
Anahtar Kavram
AWS CodePipeline Stage Transitions