aws s3api create-bucket —bucket make exception

前端 未结 5 834
暖寄归人
暖寄归人 2021-02-12 22:13

I am trying to create an S3 bucket using

aws s3api create-bucket —bucket kubernetes-aws-wthamira-io

It gives this error:



        
5条回答
  •  再見小時候
    2021-02-12 22:52

    Most of the suggestions listed above could be a reason for the IllegalLocationConstraintException error to happen. In my case, the same error happened and solved by creating a new bucket with the same region as that of the code I am working with. For instance, if S3 bucket is created in us-east-1 region, your code e.g., the AWS SageMaker notebook instance has to be also created from us-east-1 region.

提交回复
热议问题