mercredi 7 janvier 2015

Upload limit on IAM user policy Amazon

I am using cyberduck to upload to Amazon i have it all setup via a IAM user.


It will connect fine and i can upload to the bucket but it will not let me upload anything above 100mb.


Can anyone inform me why here is my IAM policy. It uploads anything under 100mb fine.



{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": ["s3:*"],
"Resource": ["arn:aws:s3:::myusers", "arn:aws:s3:::myusers/*"],
"Condition": {
"StringLike": {
"s3:prefix": ["1/*"]
}
}
}, {
"Effect": "Allow",
"Action": ["s3:*"],
"Resource": ["arn:aws:s3:::myusers/1/*"]
}]
}


If i change my policy to a admin policy like below it will upload any filesize fine?



{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*"
}
]
}


Thanks





Aucun commentaire:

Enregistrer un commentaire