From 271558744921b5845777decad00756b895d9c485 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Mon, 13 Mar 2017 17:04:49 -0400 Subject: [build] Give ios/builds s3 permission to Bitrise user --- cloudformation/travis.template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'cloudformation') diff --git a/cloudformation/travis.template b/cloudformation/travis.template index e6b404d9a4..29f2402b20 100644 --- a/cloudformation/travis.template +++ b/cloudformation/travis.template @@ -199,6 +199,26 @@ } ] } + }, + { + "PolicyName": "publish-nightlies", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "s3:DeleteObject", + "s3:GetObject", + "s3:GetObjectAcl", + "s3:PutObject", + "s3:PutObjectAcl" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::mapbox/mapbox-gl-native/ios/builds/*" + ] + } + ] + } } ] } -- cgit v1.2.1