Page MenuHomePhabricator
Feed Advanced Search

Mar 9 2017

rlex added a comment to T12377: S3 cannot migrate / upload files.

Ok, i'm an idiot.
I configured wrong endpoint.
It's working now.
Still, it might be good idea for mentioning this policy in install doc - it's not really obvious that you need

"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"

For IAM policy to work.

Mar 9 2017, 1:37 PM · Bug Report
rlex added a comment to T12377: S3 cannot migrate / upload files.

Probably worth mentioning that this creds are configured using IAM instead of root creds.
Policy for this user:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::files.example.com",
                "arn:aws:s3:::files.example.com/*"
            ]
        }
    ]
}
Mar 9 2017, 1:29 PM · Bug Report
rlex created T12377: S3 cannot migrate / upload files.
Mar 9 2017, 1:27 PM · Bug Report