AWS S3: The bucket you are attempting to access must be addressed using the specified endpoint

后端 未结 15 455
南旧
南旧 2020-12-02 10:33

I am trying to delete uploaded image files with the AWS-SDK-Core Ruby Gem.

I have the following code:

require \'aws-sdk-core\'

def pull_picture(pict         


        
15条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 11:18

    I live in uk was keep on trying for 'us-west-2'region. So redirected to 'eu-west-2'. The correct region for S3 is 'eu-west-2'

提交回复
热议问题