Skip to content

aws s3api create-bucket throws error for us-east-2 #2603

@mickengland

Description

@mickengland

aws s3api create-bucket --bucket dev-xxxx-com-state --region us-east-2

A client error (IllegalLocationConstraintException) occurred when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

Works fine with us-east-1.

aws --version
aws-cli/1.7.45 Python/2.7.10 Darwin/16.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.guidanceQuestion that needs advice or information.s3apiservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions