feat: add necessary roles and tag

This commit is contained in:
Daisuke Nakahara 2025-05-07 20:05:21 +09:00
parent 5de667341c
commit e5fda53600

View file

@ -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: