feat: add necessary roles and tag
This commit is contained in:
parent
5de667341c
commit
e5fda53600
1 changed files with 7 additions and 0 deletions
|
|
@ -53,12 +53,16 @@ Resources:
|
|||
- Effect: Allow
|
||||
Action:
|
||||
- s3:GetObject
|
||||
- s3:GetObjectVersion
|
||||
- s3:PutObject
|
||||
- s3:ListBucket
|
||||
- s3:GetBucketLocation
|
||||
- s3:GetBucketVersioning
|
||||
Resource:
|
||||
- "arn:aws:s3:::codebuild-ap-northeast-1-692859919890-input-bucket"
|
||||
- "arn:aws:s3:::codebuild-ap-northeast-1-692859919890-input-bucket/*"
|
||||
- "arn:aws:s3:::naputo-blog-source"
|
||||
- "arn:aws:s3:::naputo-blog-source/*"
|
||||
# Permissions for CloudFormation actions
|
||||
- Effect: Allow
|
||||
Action:
|
||||
|
|
@ -84,6 +88,9 @@ Resources:
|
|||
Type: S3
|
||||
Location: "codebuild-ap-northeast-1-692859919890-input-bucket"
|
||||
RoleArn: !GetAtt CodePipelineRole.Arn
|
||||
Tags:
|
||||
- Key: Project
|
||||
Value: Git-server
|
||||
Stages:
|
||||
- Name: Source
|
||||
Actions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue