Skip to content

Commit 96628fc

Browse files
committed
fixed role for batch
1 parent 56f3078 commit 96628fc

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

codebuild-role.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@
2828
"codeconnections:UseConnection"
2929
]
3030
},
31+
{
32+
"Effect": "Allow",
33+
"Resource": [
34+
"arn:aws:codebuild:us-west-2:111111:project/*"
35+
],
36+
"Action": [
37+
"codebuild:StartBuild",
38+
"codebuild:StopBuild",
39+
"codebuild:RetryBuild"
40+
]
41+
},
3142
{
3243
"Sid": "SidReportGroup",
3344
"Effect": "Allow",

codebuildproj_batch.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@
2828
"status": "ENABLED",
2929
"groupName": "/aws/codebuild/BuildProjSingle1"
3030
}
31-
}
31+
},
32+
33+
"buildBatchConfig": {
34+
"serviceRole": "arn:aws:iam::111111:role/CodeBuildServiceRole"
35+
}
3236
}

0 commit comments

Comments
 (0)