Skip to content

Instantly share code, notes, and snippets.

@d-nishi
Last active May 22, 2019 16:05
Show Gist options
  • Save d-nishi/db2e4f67759edc7d6a9b1be5efa16695 to your computer and use it in GitHub Desktop.
Save d-nishi/db2e4f67759edc7d6a9b1be5efa16695 to your computer and use it in GitHub Desktop.
CodeBuild Service Role
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {
"Service": "codebuild.amazonaws.com"
},
"Action": [
"sts:AssumeRole",
"ssm:GetParameters",
"logs:PutLogEvents",
"logs:CreateLogStream",
"logs:CreateLogGroup",
"ecr:UploadLayerPart",
"ecr:PutImage",
"ecr:InitiateLayerUpload",
"ecr:GetAuthorizationToken",
"ecr:CompleteLayerUpload",
"ecr:BatchCheckLayerAvailability"
],
"Resource": "*"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment