feat: add a manual approval action in AWS CodePipeline
This commit is contained in:
parent
e7d6113ba4
commit
73ce84ba2f
1 changed files with 16 additions and 0 deletions
|
|
@ -126,6 +126,11 @@ Resources:
|
|||
- codebuild:StartBuild
|
||||
- codebuild:BatchGetBuilds
|
||||
Resource: "*"
|
||||
# Permissions for manual approval actions in CodePipeline
|
||||
- Effect: Allow
|
||||
Action:
|
||||
- codepipeline:PutApprovalResult
|
||||
Resource: "*"
|
||||
|
||||
MyBlogPipeline:
|
||||
Type: AWS::CodePipeline::Pipeline
|
||||
|
|
@ -168,6 +173,17 @@ Resources:
|
|||
InputArtifacts:
|
||||
- Name: SourceArtifact
|
||||
RunOrder: 1
|
||||
- Name: Approval
|
||||
Actions:
|
||||
- Name: ManualApproval
|
||||
ActionTypeId:
|
||||
Category: Approval
|
||||
Owner: AWS
|
||||
Provider: Manual
|
||||
Version: "1"
|
||||
RunOrder: 1
|
||||
Configuration:
|
||||
CustomData: "Please review the build artifact and approve the deployment."
|
||||
- Name: Deploy
|
||||
Actions:
|
||||
- Name: S3Deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue