Skip to content

Commit

Permalink
cloudformation: add bucket list permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed Jan 6, 2020
1 parent b2eb6d0 commit 9b590cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cloudformation/ci.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ module.exports = {
Type: 'AWS::IAM::User',
Properties: {
Policies: [
{
"PolicyName": "list",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox-gl-js"
]
}
]
}
},
{
PolicyName: 'main',
PolicyDocument: {
Expand Down

0 comments on commit 9b590cd

Please sign in to comment.