Michael Grote
2b48b9fe6f
friedhof/mgrote_minio_configure/tasks/bucket.yml friedhof/mgrote_minio_configure/tasks/client.yml friedhof/mgrote_minio_configure/tasks/main.yml friedhof/mgrote_minio_configure/tasks/policy.yml friedhof/mgrote_minio_configure/templates/policy_ro.j2 friedhof/mgrote_minio_configure/templates/policy_rw.j2 group_vars/docker.yml host_vars/docker10.mgrote.net.yml playbooks/3_service/docker.yml Signed-off-by: Michael Grote <michael.grote@posteo.de>
39 lines
704 B
Django/Jinja
39 lines
704 B
Django/Jinja
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Effect": "Allow",
|
|
"Principal": {
|
|
"AWS": [
|
|
"*"
|
|
]
|
|
},
|
|
"Action": [
|
|
"s3:GetBucketLocation",
|
|
"s3:ListBucket",
|
|
"s3:ListBucketMultipartUploads"
|
|
],
|
|
"Resource": [
|
|
"arn:aws:s3:::{{ item.name }}"
|
|
]
|
|
},
|
|
{
|
|
"Effect": "Allow",
|
|
"Principal": {
|
|
"AWS": [
|
|
"*"
|
|
]
|
|
},
|
|
"Action": [
|
|
"s3:AbortMultipartUpload",
|
|
"s3:DeleteObject",
|
|
"s3:GetObject",
|
|
"s3:ListMultipartUploadParts",
|
|
"s3:PutObject"
|
|
],
|
|
"Resource": [
|
|
"arn:aws:s3:::{{ item.name }}/*"
|
|
]
|
|
}
|
|
]
|
|
}
|