Reputation: 1833
I wish to create the following AWS CodePipeline process
My problem is in step 4 and 5, how can I make the codepipeline wait for manual approval (step 4) and then if approved, automatically proceeds to deploying next stage (step 5)
Thanks
Upvotes: 3
Views: 4011
Reputation: 4885
To address your problem with Step 4 and 5 this can be accomplished 2 ways:
1) AWS has added the ability to add a manual approval step via the console: https://aws.amazon.com/about-aws/whats-new/2016/07/aws-codepipeline-adds-manual-approval-actions/
2) ManualApproval can also be added to a CodePipeline CloudFormation Template Action like this:
- InputArtifacts: []
Name: !Join ["",[!Ref GitHubRepository, "-prd-approval"]]
ActionTypeId:
Category: Approval
Owner: AWS
Version: '1'
Provider: Manual
OutputArtifacts: []
Configuration:
NotificationArn: !Ref ManualApprovalNotification
ExternalEntityLink: OutputTestUrl
RunOrder: 3
Upvotes: 2