summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorWill Thames <will@thames.id.au>2018-01-18 02:03:23 +1000
committerRyan Brown <sb@ryansb.com>2018-01-17 11:03:23 -0500
commit8d733dbdf0eb7bbda5f3a783e893d71a3a35a646 (patch)
tree16eda49180577de86f5c69635cf5ee7702929c1e /hacking
parent53266e31df0954513b585b1f056be42514900f4c (diff)
downloadansible-8d733dbdf0eb7bbda5f3a783e893d71a3a35a646.tar.gz
[cloud] New module cloudfront_distribution (#31284)
* added cloudfont.py, modified cloudfront_facts.py class name and fixed a minor bug * Improvements to cloudfront_distribution * Reduce the scope of the cloudfront_distribution module * Remove presigning * Remove streaming distribution functionality * Add full test suite for cloudfront distribution * Meet Ansible AWS guidelines * Make requested changes Fix tests Use built-in waiter Update copyright
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/cloudfront-policy.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/hacking/aws_config/testing_policies/cloudfront-policy.json b/hacking/aws_config/testing_policies/cloudfront-policy.json
new file mode 100644
index 0000000000..5bb22ffe5a
--- /dev/null
+++ b/hacking/aws_config/testing_policies/cloudfront-policy.json
@@ -0,0 +1,28 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Sid": "AllowCloudfrontUsage",
+ "Effect": "Allow",
+ "Action": [
+ "cloudfront:CreateDistribution",
+ "cloudfront:CreateDistributionWithTags",
+ "cloudfront:DeleteDistribution",
+ "cloudfront:GetDistribution",
+ "cloudfront:GetStreamingDistribution",
+ "cloudfront:GetDistributionConfig",
+ "cloudfront:GetStreamingDistributionConfig",
+ "cloudfront:GetInvalidation",
+ "cloudfront:ListDistributions",
+ "cloudfront:ListDistributionsByWebACLId",
+ "cloudfront:ListInvalidations",
+ "cloudfront:ListStreamingDistributions",
+ "cloudfront:ListTagsForResource",
+ "cloudfront:TagResource",
+ "cloudfront:UntagResource",
+ "cloudfront:UpdateDistribution"
+ ],
+ "Resource": "*"
+ }
+ ]
+}