summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorWill Thames <will@thames.id.au>2018-08-24 03:04:18 +0200
committerSloane Hertel <shertel@redhat.com>2018-08-24 03:04:18 +0200
commit60e3af42d5c9ba42bf283512b734513ac40c3bec (patch)
tree4a647514f6020ed8dfb3ee22210027231925005a /hacking
parentAdd new parameters to manage mtime and atime for file module, fixes #30226 (#... (diff)
downloadansible-60e3af42d5c9ba42bf283512b734513ac40c3bec.tar.xz
ansible-60e3af42d5c9ba42bf283512b734513ac40c3bec.zip
sns_topic boto3 port (#39292)
* Port sns_topic to boto3 and add tests
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/compute-policy.json8
-rw-r--r--hacking/aws_config/testing_policies/security-policy.json3
2 files changed, 9 insertions, 2 deletions
diff --git a/hacking/aws_config/testing_policies/compute-policy.json b/hacking/aws_config/testing_policies/compute-policy.json
index abadd98e6a..2bab151f13 100644
--- a/hacking/aws_config/testing_policies/compute-policy.json
+++ b/hacking/aws_config/testing_policies/compute-policy.json
@@ -246,9 +246,13 @@
"Action": [
"SNS:CreateTopic",
"SNS:DeleteTopic",
- "SNS:ListTopics",
"SNS:GetTopicAttributes",
- "SNS:ListSubscriptionsByTopic"
+ "SNS:ListSubscriptions",
+ "SNS:ListSubscriptionsByTopic",
+ "SNS:ListTopics",
+ "SNS:SetTopicAttributes",
+ "SNS:Subscribe",
+ "SNS:Unsubscribe"
],
"Resource": [
"*"
diff --git a/hacking/aws_config/testing_policies/security-policy.json b/hacking/aws_config/testing_policies/security-policy.json
index 1c6b2ca23a..e2dea9726a 100644
--- a/hacking/aws_config/testing_policies/security-policy.json
+++ b/hacking/aws_config/testing_policies/security-policy.json
@@ -3,11 +3,14 @@
"Statement": [
{
"Action": [
+ "iam:GetInstanceProfile",
"iam:GetPolicy",
"iam:GetPolicyVersion",
"iam:GetRole",
+ "iam:GetRolePolicy",
"iam:ListAttachedRolePolicies",
"iam:ListGroups",
+ "iam:ListInstanceProfiles",
"iam:ListInstanceProfilesForRole",
"iam:ListPolicies",
"iam:ListRoles",