【发布时间】:2018-08-16 21:34:00
【问题描述】:
我正在尝试使用
创建一个 S3 存储桶aws s3api create-bucket —bucket kubernetes-aws-wthamira-io
它给出了这个错误:
An error occurred (IllegalLocationConstraintException) when calling
the CreateBucket operation: The unspecified location constraint is
incompatible for the region specific endpoint this request was sent
to.
我将使用aws configure 的区域设置为eu-west-1
Default region name [eu-west-1]:
但它给出了同样的错误。我该如何解决?
我用osx终端连接aws
【问题讨论】:
-
我正在使用
aws s3并得到相同的问题输出。尝试添加--region来设置约束可以帮助我解决这个问题。与 s3api 中的LocationConstraint工作方式相同
标签: amazon-web-services amazon-s3 kubernetes kops