Skip to content

Instantly share code, notes, and snippets.

@lifeisfoo
Created February 6, 2018 14:02
Show Gist options
  • Save lifeisfoo/beb6578c7acb9c722dc7edcfae750420 to your computer and use it in GitHub Desktop.
Save lifeisfoo/beb6578c7acb9c722dc7edcfae750420 to your computer and use it in GitHub Desktop.
Minimum rex ray aws policy for using efs driver
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "RexRayEFSMin",
"Effect": "Allow",
"Action": [
"elasticfilesystem:CreateFileSystem",
"elasticfilesystem:CreateMountTarget",
"ec2:DescribeSubnets",
"ec2:DescribeNetworkInterfaces",
"ec2:CreateNetworkInterface",
"elasticfilesystem:CreateTags",
"elasticfilesystem:DeleteFileSystem",
"elasticfilesystem:DeleteMountTarget",
"ec2:DeleteNetworkInterface",
"elasticfilesystem:DescribeFileSystems",
"elasticfilesystem:DescribeMountTargets"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment