boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden

后端 未结 9 1186
感情败类
感情败类 2020-11-29 19:13

I\'m trying to get django to upload static files to S3, but istead I\'m getting a 403 forbidden error, and I\'m not sure why.

Full Stacktrace:

9条回答
  •  被撕碎了的回忆
    2020-11-29 19:47

    Another solution avoiding custom policies and using AWS predefined policies:

    • Add S3 full access permissions to your S3 user.

      • IAM / Users / Permissions and Attach Policy
      • Add policy "AmazonS3FullAccess"

提交回复
热议问题