From 9b590cd6154555d391c70ace9915797496a294c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 6 Jan 2020 15:36:45 +0100 Subject: [PATCH] cloudformation: add bucket list permissions --- cloudformation/ci.template.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cloudformation/ci.template.js b/cloudformation/ci.template.js index 98f32b547..591201e6a 100644 --- a/cloudformation/ci.template.js +++ b/cloudformation/ci.template.js @@ -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: {