Skip to content

Commit

Permalink
Merge pull request #999 from mapbox/move-buckets
Browse files Browse the repository at this point in the history
Move to mapbox bucket
  • Loading branch information
Leith Bade committed Feb 16, 2015
2 parents d996fe6 + db64c96 commit ce9f131
Showing 1 changed file with 45 additions and 4 deletions.
49 changes: 45 additions & 4 deletions test/travis/cf-mapbox-gl-js-build-user.template
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
}
},
{
"PolicyName": "list-testing",
"PolicyName": "list-testing-old",
"PolicyDocument": {
"Statement": [
{
Expand All @@ -96,7 +96,7 @@
}
},
{
"PolicyName": "build-testing",
"PolicyName": "build-testing-old",
"PolicyDocument": {
"Statement": [
{
Expand All @@ -114,6 +114,48 @@
}
]
}
},

{
"PolicyName": "list-testing",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox"
],
"Condition": {
"StringLike": {
"s3:prefix": "mapbox-gl-js/*"
}
}
}
]
}
},
{
"PolicyName": "build-testing",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox/mapbox-gl-js/*"
]
}
]
}
}
]
}
Expand All @@ -135,12 +177,11 @@
},
"SecretAccessKey": {
"Value": {
"Fn::GetAtt": [
"Fn::GetAtt": [
"BuildUserKey",
"SecretAccessKey"
]
}
}
}
}

0 comments on commit ce9f131

Please sign in to comment.