cobyism/ghost-on-heroku

Access Denied on image upload

Closed this issue · 1 comments

I'm tearing my hair out here having spent this afternoon trying to get S3 uploads working. I think I have the correct Bucket Policy, User Policy and Env Vars set. I can't seem to see anything in the logs that will help me debug the issue.

Heroku Log Output
image

Bucket Permission Policy
image

** IAM User Policy **
image

Any ideas on what I might have missed?

Solved.

A full permissions IAM User Policy seems to have fixed the issue.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::XXXXXXXX/*" ] } ] }