move AbortMultipartUpload and ListMultipartUploadParts to the object-level IAM policy statement

Signed-off-by: Thomas Hopkins <hopkinsth@gmail.com>
pull/419/head
Thomas Hopkins 2018-04-10 20:26:48 -04:00 committed by Thomas Hopkins
parent 258f3e011e
commit 612fe31bff
1 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,9 @@ For more information, see [the AWS documentation on IAM users][14].
"Action": [ "Action": [
"s3:GetObject", "s3:GetObject",
"s3:DeleteObject", "s3:DeleteObject",
"s3:PutObject" "s3:PutObject",
"s3:AbortMultipartUpload",
"s3:ListMultipartUploadParts"
], ],
"Resource": [ "Resource": [
"arn:aws:s3:::${BUCKET}/*" "arn:aws:s3:::${BUCKET}/*"
@ -71,9 +73,7 @@ For more information, see [the AWS documentation on IAM users][14].
{ {
"Effect": "Allow", "Effect": "Allow",
"Action": [ "Action": [
"s3:ListBucket", "s3:ListBucket"
"s3:AbortMultipartUpload",
"s3:ListMultipartUploadParts"
], ],
"Resource": [ "Resource": [
"arn:aws:s3:::${BUCKET}" "arn:aws:s3:::${BUCKET}"