HoraceShmorace/Image-Flex

Error when trying to create a bucket using custom region.

Closed this issue · 1 comments

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.

We need this:

  • ) echo "Creating bucket: ${DeployBucket}"; aws s3 mb s3://${DeployBucket} --region ${REGION};echo;;