Skip to content

Commit

Permalink
Merge pull request #48 from moia-oss/update-readme
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
snowiow authored Jan 4, 2022
2 parents f8f9e0b + 7e12b39 commit 682cfa9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,21 @@ user or role you login to needs the following permissions:
"Effect": "Allow",
"Action": [
"codepipeline:StartPipelineExecution",
"codepipeline:GetPipeline",
"codepipeline:GetPipelineExecution",
"codepipeline:ListPipelineExecutions"
],
"Resource": ["arn:aws:codepipeline:${AWS::Region}:${AWS::AccountId}:${PipelineName}"]
},
{
"Effect": "Allow",
"Action": [
"codebuild:ListBuildsForProject",
"codebuild:BatchGetBuilds",
],
"Action": ["codebuild:ListBuildsForProject", "codebuild:BatchGetBuilds"],
"Resource": ["arn:aws:codebuild:${AWS::Region}:${AWS::AccountId}:project/${CodeBuildProjectName}"]
},
{
"Effect": "Allow",
"Action": [
"logs:GetLogEvents",
],
"Resource": ["arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/${CodeBuildProjectName}:*"
"Action": ["logs:GetLogEvents"],
"Resource": ["arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/${CodeBuildProjectName}:*"]
}
]
}
Expand All @@ -57,7 +53,8 @@ Workflow continues without checking the pipeline state.

Furthermore, if you have set `wait: true` and `follow-codebuild: true` then aws-codepipeline-trigger is able to forward the outputs of the CodeBuild Actions inside of the CodePipeline. To make use of this feature, the following permissions must be set as well:

- `codebuild:ListBuildBatchesForProject`
- `codepipeline:GetPipeline`
- `codebuild:ListBuildsForProject`
- `codebuild:BatchGetBuilds`
- `logs:GetLogEvents`

Expand Down

0 comments on commit 682cfa9

Please sign in to comment.