AWS S3 CLI - Could not connect to the endpoint URL

前端 未结 12 1225
情书的邮戳
情书的邮戳 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:15

    Probably, there is something wrong with the default region while configuring aws. In your case, the URL says "https://s3.us-east-1a.amazonaws.com/"

    In your command prompt,

    aws configure, enter your keys, Now fix your region from us-east-1a to us-east-1.

    Kindly check the syntax according to the CLI you are using. This will be helpful.

提交回复
热议问题