Skip to content

Instantly share code, notes, and snippets.

@zimdo
Created December 23, 2016 18:42
Show Gist options
  • Save zimdo/41f6f5b560585bbfe8cff203417afa35 to your computer and use it in GitHub Desktop.
Save zimdo/41f6f5b560585bbfe8cff203417afa35 to your computer and use it in GitHub Desktop.
Make AWS CodeBuild work AWS ECS
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "CodeBuildAccess",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::964771811575:root",
"arn:aws:iam::570169269855:root",
"arn:aws:iam::201349592320:root"
]
},
"Action": [
"ecr:GetDownloadUrlForLayer",
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment