cobyism / ghost-on-heroku

One-button Heroku deploy for the Ghost blogging platform.
MIT License
743 stars 686 forks source link

upload error with s3 #100

Closed jasan-s closed 7 years ago

jasan-s commented 7 years ago

Inaccessible host: yourappblogbucket.s3.us'. This service may not be available in theUS Standard' region.

i updated env variables with my aws key and secret as well as s3 bucket name and region yet I still get the following error when i try to upload an image. I have tried changing bucket regions. same error

jasan-s commented 7 years ago

added iam user on aws with the following credentials:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListAllMyBuckets" ], "Resource": "arn:aws:s3:::*" }, { "Effect": "Allow", "Action": [ "s3:ListBucket", "s3:ListBucketVersions", "s3:GetBucketLocation" ], "Resource": "arn:aws:s3:::[BUCKET_NAME]" }, { "Effect": "Allow", "Action": [ "s3:GetObject", "s3:GetObjectAcl", "s3:PutObject", "s3:PutObjectAcl", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::[BUCKET_NAME]/*" } ] } Images are successfully uploading but now blog is not displaying them. New issue to resolve