Answers for "AWS IllegalLocationConstraintException"

1

AWS IllegalLocationConstraintException

"""
Regions outside of us-east-1 require the appropriate LocationConstraint to be specified,
in order to create the bucket in the desired region.
"""

aws s3api create-bucket --bucket somename --create-bucket-configuration LocationConstraint=ap-south-1
Posted by: Guest on June-15-2021

Browse Popular Code Answers by Language