summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorJulien Vey <vey.julien@gmail.com>2018-03-07 17:25:24 +0100
committerSloane Hertel <shertel@redhat.com>2018-03-07 17:25:24 +0100
commit7c07877b1b7849ca27de82a23aaac65e8c5101f9 (patch)
tree3229e0baf8db2b70c1790a589df10f8f9e030f8c /hacking
parentroute53_zone: move to boto3, and enable comment update (#36641) (diff)
downloadansible-7c07877b1b7849ca27de82a23aaac65e8c5101f9.tar.xz
ansible-7c07877b1b7849ca27de82a23aaac65e8c5101f9.zip
s3_bucket: add integration tests (#36941)
Also update testing-policies/storage
Diffstat (limited to 'hacking')
-rw-r--r--hacking/aws_config/testing_policies/storage-policy.json18
1 files changed, 13 insertions, 5 deletions
diff --git a/hacking/aws_config/testing_policies/storage-policy.json b/hacking/aws_config/testing_policies/storage-policy.json
index 0c8fcaca6b..961c80ca7c 100644
--- a/hacking/aws_config/testing_policies/storage-policy.json
+++ b/hacking/aws_config/testing_policies/storage-policy.json
@@ -2,16 +2,24 @@
"Version": "2012-10-17",
"Statement": [
{
- "Sid": "AlowS3AnsibleTestBuckets",
+ "Sid": "AllowS3AnsibleTestBuckets",
"Action": [
+ "s3:CreateBucket",
+ "s3:DeleteBucket",
+ "s3:DeleteObject",
+ "s3:GetBucketPolicy",
+ "s3:GetBucketRequestPayment",
+ "s3:GetBucketTagging",
+ "s3:GetBucketVersioning",
"s3:GetObject",
"s3:ListBucket",
"s3:PutBucketAcl",
- "s3:CreateBucket",
+ "s3:PutBucketPolicy",
+ "s3:PutBucketRequestPayment",
+ "s3:PutBucketTagging",
+ "s3:PutBucketVersioning",
"s3:PutObject",
- "s3:PutObjectAcl",
- "s3:DeleteBucket",
- "s3:DeleteObject"
+ "s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": [