Skip to content

Instantly share code, notes, and snippets.

@sredhar
Created September 18, 2013 01:32
Show Gist options
  • Save sredhar/6603293 to your computer and use it in GitHub Desktop.
Save sredhar/6603293 to your computer and use it in GitHub Desktop.
Policy Generator for launching instances from a EC2 Instance.
{
"Statement": [
{
"Sid": "EC2RunInstancePolicy",
"Action": [
"ec2:RunInstances",
"ec2:DescribeInstances",
"ec2:DescribeKeyPairs",
"ec2:DescribeImages",
"ec2:CreateTags",
"iam:PassRole",
"ec2:DescribeTags"
],
"Effect": "Allow",
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment