Skip to content

Instantly share code, notes, and snippets.

@autoize
Created July 12, 2019 18:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save autoize/bc878d0bf94d4c0353f98fef4f61af97 to your computer and use it in GitHub Desktop.
Save autoize/bc878d0bf94d4c0353f98fef4f61af97 to your computer and use it in GitHub Desktop.
Policy for IAM User with necessary permissions for rexray/ebs Docker plugin
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:DetachVolume",
"ec2:AttachVolume",
"ec2:CopySnapshot",
"ec2:DeleteSnapshot",
"ec2:ModifyVolumeAttribute",
"ec2:DescribeInstances",
"ec2:DescribeTags",
"ec2:DescribeSnapshotAttribute",
"ec2:CreateTags",
"ec2:DescribeSnapshots",
"ec2:DescribeVolumeAttribute",
"ec2:CreateVolume",
"ec2:DeleteVolume",
"ec2:DescribeVolumeStatus",
"ec2:ModifySnapshotAttribute",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeVolumes",
"ec2:CreateSnapshot"
],
"Resource": "*"
}
]
}
@regmicmahesh
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment