summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/setup-iam.yml1
-rw-r--r--hacking/aws_config/testing_policies/cloudfront-policy.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/hacking/aws_config/setup-iam.yml b/hacking/aws_config/setup-iam.yml
index fffc04ac72..c1d8dd68cc 100644
--- a/hacking/aws_config/setup-iam.yml
+++ b/hacking/aws_config/setup-iam.yml
@@ -26,6 +26,7 @@
- name: Get aws account ID
aws_caller_facts:
+ profile: "{{ profile|default(omit) }}"
register: aws_caller_facts
- name: Set aws_account_fact
diff --git a/hacking/aws_config/testing_policies/cloudfront-policy.json b/hacking/aws_config/testing_policies/cloudfront-policy.json
index 5bb22ffe5a..057cb586d6 100644
--- a/hacking/aws_config/testing_policies/cloudfront-policy.json
+++ b/hacking/aws_config/testing_policies/cloudfront-policy.json
@@ -7,6 +7,7 @@
"Action": [
"cloudfront:CreateDistribution",
"cloudfront:CreateDistributionWithTags",
+ "cloudfront:CreateCloudFrontOriginAccessIdentity",
"cloudfront:DeleteDistribution",
"cloudfront:GetDistribution",
"cloudfront:GetStreamingDistribution",