2024-11-09 20:21:51 +01:00
|
|
|
{
|
|
|
|
"Version": "2012-10-17",
|
|
|
|
"Statement": [
|
|
|
|
{
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Principal": {
|
|
|
|
"AWS": [
|
|
|
|
"*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Action": [
|
|
|
|
"s3:GetBucketLocation",
|
|
|
|
"s3:ListBucket",
|
|
|
|
"s3:ListBucketMultipartUploads"
|
|
|
|
],
|
|
|
|
"Resource": [
|
2024-11-09 21:15:28 +01:00
|
|
|
"arn:aws:s3:::{{ item.name }}"
|
2024-11-09 20:21:51 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Principal": {
|
|
|
|
"AWS": [
|
|
|
|
"*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Action": [
|
|
|
|
"s3:AbortMultipartUpload",
|
|
|
|
"s3:GetObject",
|
2024-11-09 20:33:28 +01:00
|
|
|
"s3:ListMultipartUploadParts"
|
2024-11-09 20:21:51 +01:00
|
|
|
],
|
|
|
|
"Resource": [
|
2024-11-09 21:15:28 +01:00
|
|
|
"arn:aws:s3:::{{ item.name }}/*"
|
2024-11-09 20:21:51 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|