summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorMark Chappell <mchappel@redhat.com>2020-02-27 23:26:20 +0100
committerGitHub <noreply@github.com>2020-02-27 15:26:20 -0700
commitda30e6d2e1efa411b26e6a48e5d7f7cea644bbef (patch)
treeed59efbdb24a10e0122c7bc5487fbac1edc35bf8 /hacking
parent75b088d6a9882b9784a81cb27605d5ed7efed674 (diff)
downloadansible-da30e6d2e1efa411b26e6a48e5d7f7cea644bbef.tar.gz
sqs_queue - Move to boto3 and add support for various extra features (#66795)
* reworked sqs_queue * Switch default purge_tags behaviour to false. This matches the behaviour of ec2_tag and ecs_tag. * Minor lint / review fixups * Add missing AWS IAM policy for SQS tests * Move integration tests to using module_defaults: group/aws:... * add changelog * Break out the 'compatability' map from our spec definition (gets flagged by the schema validation) * Tweaks based on review * add basic examples * Lint fixups * Switch out NonExistentQueue logic so it's easier to follow * Reorder name argument options for consistency Co-authored-by: Dennis Podkovyrin <dennis.podkovyrin@gmail.com>
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/compute-policy.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/hacking/aws_config/testing_policies/compute-policy.json b/hacking/aws_config/testing_policies/compute-policy.json
index a19b4256df..2d28aa41d3 100644
--- a/hacking/aws_config/testing_policies/compute-policy.json
+++ b/hacking/aws_config/testing_policies/compute-policy.json
@@ -263,6 +263,18 @@
"lightsail:StopInstance"
],
"Resource": "arn:aws:lightsail:*:*:*"
- }
+ },
+ {
+ "Sid": "AllowSQS",
+ "Effect": "Allow",
+ "Action": [
+ "sqs:GetQueueURL",
+ "sqs:CreateQueue",
+ "sqs:GetQueueAttributes",
+ "sqs:DeleteQueue",
+ "sqs:SetQueueAttributes"
+ ],
+ "Resource": "arn:aws:sqs:*:*:*"
+ },
]
}