AWS S3 CLI - Could not connect to the endpoint URL

前端 未结 12 1219
情书的邮戳
情书的邮戳 2020-12-07 21:46
$ aws s3 ls

Could not connect to the endpoint URL: \"https://s3.us-east-1a.amazonaws.com/\"

What could be the problem?

12条回答
  •  离开以前
    2020-12-07 22:19

    The solution to my problem was to run:

        sudo aws configure
    

    Enter your credentials and then run:

        sudo aws s3 ls
    

    A different solution was to make sure that the region in the .aws/config file is the same as the endpoints

提交回复
热议问题