Skip to content

Instantly share code, notes, and snippets.

@alanwill
Created February 24, 2014 00:54
Show Gist options
  • Save alanwill/9179816 to your computer and use it in GitHub Desktop.
Save alanwill/9179816 to your computer and use it in GitHub Desktop.
AWS IAM policy that allows an IAM user to pass an IAM role, for example, when creating a new EC2 instance
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment