summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/efs-policy.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/hacking/aws_config/testing_policies/efs-policy.json b/hacking/aws_config/testing_policies/efs-policy.json
new file mode 100644
index 0000000000..2c4c52922d
--- /dev/null
+++ b/hacking/aws_config/testing_policies/efs-policy.json
@@ -0,0 +1,36 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Sid": "ManageNetwork",
+ "Effect": "Allow",
+ "Action": [
+ "ec2:CreateNetworkInterface",
+ "ec2:CreateSubnet",
+ "ec2:CreateTags",
+ "ec2:CreateVpc",
+ "ec2:DeleteNetworkInterface",
+ "ec2:DeleteSubnet",
+ "ec2:DeleteVpc",
+ "ec2:DescribeNetworkInterfaceAttribute",
+ "ec2:DescribeNetworkInterfaces",
+ "ec2:DescribeSecurityGroups",
+ "ec2:DescribeSubnets",
+ "ec2:DescribeTags",
+ "ec2:DescribeVpcAttribute",
+ "ec2:DescribeVpcClassicLink",
+ "ec2:DescribeVpcs",
+ "ec2:ModifyVpcAttribute"
+ ],
+ "Resource": "*"
+ },
+ {
+ "Sid": "ManageEFS",
+ "Effect": "Allow",
+ "Action": [
+ "elasticfilesystem:*"
+ ],
+ "Resource": "*"
+ }
+ ]
+}