Skip to content

Commit 6914666

Browse files
committed
Move list bucket command
1 parent b81663f commit 6914666

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

cloudformation/ci.template

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@
2424
"PolicyDocument": {
2525
"Statement": [
2626
{
27-
"Action": ["s3:PutObject", "s3:ListObject"],
27+
"Action": ["s3:ListBucket"],
28+
"Effect": "Allow",
29+
"Resource": [
30+
"arn:aws:s3:::mapbox-api-downloads-production",
31+
"arn:aws:s3:::mapbox-api-downloads-staging"
32+
]
33+
},
34+
{
35+
"Action": ["s3:PutObject"],
2836
"Effect": "Allow",
2937
"Resource": [
3038
"arn:aws:s3:::mapbox-api-downloads-production/v2/*",

0 commit comments

Comments
 (0)