diff options
Diffstat (limited to 'travis')
-rw-r--r-- | travis/travis-resources.template | 31 |
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 @@ } } } - |