Skip to content

Instantly share code, notes, and snippets.

@garnaat
Last active December 14, 2015 21:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save garnaat/5154413 to your computer and use it in GitHub Desktop.
Save garnaat/5154413 to your computer and use it in GitHub Desktop.
JSON policy file for launching EC2 instance from console.
{
"Statement": [
{
"Sid": "Stmt1363151440055",
"Action": [
"iam:ListInstanceProfiles",
"iam:ListRoles",
"iam:PassRole"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "Stmt1363151440066",
"Effect":"Allow",
"Action":"ec2:*",
"Resource":"*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment