From ed93d750ad69af642bbf87685f55c21c7dcd4271 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Mon, 13 Oct 2014 16:00:31 -0400 Subject: [PATCH] add policies for mapbox-gl-testing bucket --- travis/travis-resources.template | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/travis/travis-resources.template b/travis/travis-resources.template index 0145e69ea..2891fcf59 100644 --- a/travis/travis-resources.template +++ b/travis/travis-resources.template @@ -42,6 +42,42 @@ } ] } + }, + { + "PolicyName": "list testing", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "s3:ListBucket" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::mapbox-gl-testing" + ] + } + ] + } + }, + { + "PolicyName": "build testing", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "s3:DeleteObject", + "s3:GetObject", + "s3:GetObjectAcl", + "s3:PutObject", + "s3:PutObjectAcl" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::mapbox-gl-testing/*" + ] + } + ] + } } ] }