summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-12-26 11:32:56 +1300
committerLeith Bade <leith@mapbox.com>2014-12-26 11:32:56 +1300
commita9061120ceb1194fcf475501807c4c055ed56e68 (patch)
treeeb13401a4698c2d011f20f285fcd3703c6452c78 /travis
parent7760d7f5ae4fe13f08e3a00b4593e38506e631fe (diff)
downloadqtlocation-mapboxgl-a9061120ceb1194fcf475501807c4c055ed56e68.tar.gz
Add EC2 permissions
Diffstat (limited to 'travis')
-rw-r--r--travis/travis-resources.template31
1 files changed, 29 insertions, 2 deletions
diff --git a/travis/travis-resources.template b/travis/travis-resources.template
index 2b7cea836a..a0526933be 100644
--- a/travis/travis-resources.template
+++ b/travis/travis-resources.template
@@ -78,6 +78,34 @@
}
]
}
+ },
+ {
+ "PolicyName": "android",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "s3:GetObject"
+ ],
+ "Resource": [
+ "arn:aws:s3:::android-gl-build/*"
+ ]
+ },
+ {
+ "Effect": "Allow",
+ "Action": [
+ "ec2:DescribeInstances",
+ "ec2:RunInstances",
+ "ec2:CreateTags",
+ "ec2:GetConsoleOutput"
+ ],
+ "Resource": [
+ "*"
+ ]
+ }
+ ]
+ }
}
]
}
@@ -99,7 +127,7 @@
},
"SecretAccessKey": {
"Value": {
- "Fn::GetAtt": [
+ "Fn::GetAtt": [
"BuildUserKey",
"SecretAccessKey"
]
@@ -107,4 +135,3 @@
}
}
}
-