feat: provision private S3 storage and attachment schema

This commit is contained in:
Самохвалов Андрей Ремович
2026-10-02 13:01:50 +03:00
parent bd41f2d93d
commit 22f7bcddf5
14 changed files with 309 additions and 25 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:GetBucketLocation"],
"Resource": ["arn:aws:s3:::messenger-attachments"]
},
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": ["arn:aws:s3:::messenger-attachments/*"]
}
]
}