Skip to content

Instantly share code, notes, and snippets.

@taavituisk
Created January 6, 2016 14:53
Show Gist options
  • Select an option

  • Save taavituisk/bfe4e5454aad5ae51315 to your computer and use it in GitHub Desktop.

Select an option

Save taavituisk/bfe4e5454aad5ae51315 to your computer and use it in GitHub Desktop.
aws image import role
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":[
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource":[
"arn:aws:s3:::image-import"
]
},
{
"Effect":"Allow",
"Action":[
"s3:GetObject"
],
"Resource":[
"arn:aws:s3:::image-import/*"
]
},
{
"Effect":"Allow",
"Action":[
"ec2:ModifySnapshotAttribute",
"ec2:CopySnapshot",
"ec2:RegisterImage",
"ec2:Describe*"
],
"Resource":"*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment