summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorJulien Vey <vey.julien@gmail.com>2018-03-07 17:16:04 +0100
committerSloane Hertel <shertel@redhat.com>2018-03-07 11:16:04 -0500
commit51d491f8f00bc7f165bd628d9ac42aa09bc773b4 (patch)
tree2171c8101cd122a6a83ea69cfcfe9515eeea7916 /hacking
parent11f9286ab6c4663b2868fc4b3fce7259e453e151 (diff)
downloadansible-51d491f8f00bc7f165bd628d9ac42aa09bc773b4.tar.gz
route53_zone: move to boto3, and enable comment update (#36641)
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/network-policy.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/hacking/aws_config/testing_policies/network-policy.json b/hacking/aws_config/testing_policies/network-policy.json
new file mode 100644
index 0000000000..d5035c7f67
--- /dev/null
+++ b/hacking/aws_config/testing_policies/network-policy.json
@@ -0,0 +1,32 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Sid": "ManageVPCsForRoute53Testing",
+ "Effect": "Allow",
+ "Action": [
+ "ec2:CreateTags",
+ "ec2:CreateVpc",
+ "ec2:DeleteVpc",
+ "ec2:DescribeTags",
+ "ec2:DescribeVpcAttribute",
+ "ec2:DescribeVpcClassicLink",
+ "ec2:DescribeVpcs",
+ "ec2:ModifyVpcAttribute"
+ ],
+ "Resource": "*"
+ },
+ {
+ "Sid": "ManageRoute53ForTests",
+ "Effect": "Allow",
+ "Action": [
+ "route53:CreateHostedZone",
+ "route53:DeleteHostedZone",
+ "route53:GetHostedZone",
+ "route53:ListHostedZones",
+ "route53:UpdateHostedZoneComment"
+ ],
+ "Resource": "*"
+ }
+ ]
+}