magefm / cdn

**THIS EXTENSION IS NOT MAINTAINED ANYMORE** - Magento CDN module that allows hosting all media on AWS S3. A must when you need to scale Magento horizontally.
MIT License
33 stars 20 forks source link

Statement Id Missing #15

Closed kidcajes closed 8 years ago

kidcajes commented 9 years ago

Hi, I encountered this error when I tried to paste the policy in IAM

"Statement is missing required element - Statement "Stmt1393288415000" is missing "Principal" element"

kassner commented 9 years ago

@kidcajes I'm guessing that you aren't using the root account to attach the policy to the user. In such case, please refere to Specifying a Principal in a Policy

Also, the policy provided here needs to be attached to the user who will upload the images, I did not tested using bucket policies.