Closed jasan-s closed 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
Inaccessible host:
yourappblogbucket.s3.us'. This service may not be available in the
US 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