From 0f612d1b76e043fe69965925311f30b0a9389d2c Mon Sep 17 00:00:00 2001 From: Julien Vey Date: Sun, 8 Jul 2018 22:34:22 +0200 Subject: 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 --- .../aws_config/testing_policies/efs-policy.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hacking/aws_config/testing_policies/efs-policy.json (limited to 'hacking/aws_config') 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": "*" + } + ] +} -- cgit v1.2.1