Add EC2 permissions

This commit is contained in:
Leith Bade
2014-12-26 11:32:56 +13:00
parent 7760d7f5ae
commit a9061120ce

View File

@@ -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 @@
}
}
}