Error when trying to create a bucket using custom region.
7haveeen opened this issue · 1 comments
7haveeen commented
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.
7haveeen commented
We need this:
- ) echo "Creating bucket: ${DeployBucket}"; aws s3 mb s3://${DeployBucket} --region ${REGION};echo;;