summaryrefslogtreecommitdiff
path: root/hacking/aws_config
diff options
context:
space:
mode:
authorJulien Vey <vey.julien@gmail.com>2018-07-08 22:34:22 +0200
committerSloane Hertel <shertel@redhat.com>2018-07-08 16:34:22 -0400
commit0f612d1b76e043fe69965925311f30b0a9389d2c (patch)
tree5d5aaa5056671921f7ec6d5d89d068eee12b3917 /hacking/aws_config
parent0e6628395ae827953abf2d5cdeaa1162ebb8527b (diff)
downloadansible-0f612d1b76e043fe69965925311f30b0a9389d2c.tar.gz
efs_facts: improve performance by reducing the number of api calls (#36520)
* efs_facts: improve performance by reducing the number of api calls * Remove efs_facts tests from running in CI
Diffstat (limited to 'hacking/aws_config')
-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": "*"
+ }
+ ]
+}