Skip to content

Commit 9b590cd

Browse files
committed
cloudformation: add bucket list permissions
1 parent b2eb6d0 commit 9b590cd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cloudformation/ci.template.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ module.exports = {
66
Type: 'AWS::IAM::User',
77
Properties: {
88
Policies: [
9+
{
10+
"PolicyName": "list",
11+
"PolicyDocument": {
12+
"Statement": [
13+
{
14+
"Action": [
15+
"s3:ListBucket"
16+
],
17+
"Effect": "Allow",
18+
"Resource": [
19+
"arn:aws:s3:::mapbox-gl-js"
20+
]
21+
}
22+
]
23+
}
24+
},
925
{
1026
PolicyName: 'main',
1127
PolicyDocument: {

0 commit comments

Comments
 (0)