diff options
Diffstat (limited to 'cloudformation/travis.template')
-rw-r--r-- | cloudformation/travis.template | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/cloudformation/travis.template b/cloudformation/travis.template index b65093907c..b2cf2d559b 100644 --- a/cloudformation/travis.template +++ b/cloudformation/travis.template @@ -8,42 +8,6 @@ "Properties": { "Policies": [ { - "PolicyName": "list-testing-old", - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:ListBucket" - ], - "Effect": "Allow", - "Resource": [ - "arn:aws:s3:::mapbox-gl-testing" - ] - } - ] - } - }, - { - "PolicyName": "build-testing-old", - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:DeleteObject", - "s3:GetObject", - "s3:GetObjectAcl", - "s3:PutObject", - "s3:PutObjectAcl" - ], - "Effect": "Allow", - "Resource": [ - "arn:aws:s3:::mapbox-gl-testing/*" - ] - } - ] - } - }, - { "PolicyName": "list-testing", "PolicyDocument": { "Statement": [ @@ -148,6 +112,24 @@ } ] } + }, + { + "PolicyName": "cloudwatch-metrics", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "cloudwatch:PutMetricData", + "cloudwatch:GetMetricData", + "cloudwatch:GetMetricStatistics" + ], + "Effect": "Allow", + "Resource": [ + "*" + ] + } + ] + } } ] } @@ -179,6 +161,24 @@ } ] } + }, + { + "PolicyName": "cloudwatch-metrics", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "cloudwatch:PutMetricData", + "cloudwatch:GetMetricData", + "cloudwatch:GetMetricStatistics" + ], + "Effect": "Allow", + "Resource": [ + "*" + ] + } + ] + } } ] } |