From 4a3081e071be14ecfc662de556634489eb16f127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 23 Nov 2016 11:20:50 +0100 Subject: [build] add permissions to write public metrics to BitriseUser --- cloudformation/travis.template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'cloudformation') diff --git a/cloudformation/travis.template b/cloudformation/travis.template index b2cf2d559b..0d9e3c0dc8 100644 --- a/cloudformation/travis.template +++ b/cloudformation/travis.template @@ -162,6 +162,26 @@ ] } }, + { + "PolicyName": "publish-metrics", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "s3:DeleteObject", + "s3:GetObject", + "s3:GetObjectAcl", + "s3:PutObject", + "s3:PutObjectAcl" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::mapbox/mapbox-gl-native/metrics/*" + ] + } + ] + } + }, { "PolicyName": "cloudwatch-metrics", "PolicyDocument": { -- cgit v1.2.1