summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Kiley <jmkiley@users.noreply.github.com>2019-03-25 17:30:36 -0700
committerGitHub <noreply@github.com>2019-03-25 17:30:36 -0700
commit7e0e0f5ad033fc805dd96240abee736a2bbd3766 (patch)
tree4e5dd09f14fbe3032c3a39c17d6a40e37a99ca71
parent3c15bb5c6cd20fb03e708eb9ca2bd9f5ee90092f (diff)
downloadqtlocation-mapboxgl-7e0e0f5ad033fc805dd96240abee736a2bbd3766.tar.gz
remove unneeded permissions (#14208) (#14226)
-rw-r--r--ci.template112
1 files changed, 0 insertions, 112 deletions
diff --git a/ci.template b/ci.template
index f29d8d1608..85e741d5f4 100644
--- a/ci.template
+++ b/ci.template
@@ -1,4 +1,3 @@
-
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "mapbox-gl-native travis resources",
@@ -85,35 +84,6 @@
}
},
{
- "PolicyName": "android",
- "PolicyDocument": {
- "Statement": [
- {
- "Effect": "Allow",
- "Action": [
- "ec2:DescribeInstances",
- "ec2:RunInstances",
- "ec2:CreateTags",
- "ec2:GetConsoleOutput"
- ],
- "Resource": [
- "*"
- ]
- },
- {
- "Effect": "Allow",
- "Action": "iam:PassRole",
- "Resource": {
- "Fn::GetAtt": [
- "AndroidRole",
- "Arn"
- ]
- }
- }
- ]
- }
- },
- {
"PolicyName": "cloudwatch-metrics",
"PolicyDocument": {
"Statement": [
@@ -231,72 +201,6 @@
"Ref": "BuildUser"
}
}
- },
- "AndroidRole": {
- "Type": "AWS::IAM::Role",
- "Properties": {
- "AssumeRolePolicyDocument": {
- "Statement": [
- {
- "Effect": "Allow",
- "Principal": {
- "Service": [
- "ec2.amazonaws.com"
- ]
- },
- "Action": [
- "sts:AssumeRole"
- ]
- }
- ]
- },
- "Policies": [
- {
- "PolicyName": "android-testing",
- "PolicyDocument": {
- "Statement": [
- {
- "Effect": "Allow",
- "Action": [
- "s3:PutObject"
- ],
- "Resource": [
- "arn:aws:s3:::mapbox-gl-testing/android/*"
- ]
- }
- ]
- }
- },
- {
- "PolicyName": "android",
- "PolicyDocument": {
- "Statement": [
- {
- "Effect": "Allow",
- "Action": [
- "s3:PutObject"
- ],
- "Resource": [
- "arn:aws:s3:::mapbox/mapbox-gl-native/android/build/*"
- ]
- }
- ]
- }
- }
- ],
- "Path": "/android-gl-build/travis/role/"
- }
- },
- "AndroidInstanceProfile": {
- "Type": "AWS::IAM::InstanceProfile",
- "Properties": {
- "Roles": [
- {
- "Ref": "AndroidRole"
- }
- ],
- "Path": "/android-gl-build/travis/instance-profile/"
- }
}
},
"Outputs": {
@@ -312,22 +216,6 @@
"SecretAccessKey"
]
}
- },
- "AndroidInstanceProfile": {
- "Value": {
- "Fn::GetAtt": [
- "AndroidInstanceProfile",
- "Arn"
- ]
- }
- },
- "AndroidRole": {
- "Value": {
- "Fn::GetAtt": [
- "AndroidRole",
- "Arn"
- ]
- }
}
}
}