Hi everyone,
I ran into the following error while attempting to copy files to a bucket via the AWS CLI:
Could not connect to the endpoint URL: “https://wildrydes-us-east-1.s3.wildrydesxxxx.amazonaws.com/?prefix=WebApplication%2F1_StaticWebHosting%2Fwebsite%2F&encoding-type=url”
The solution turned out to be pretty straight-forward. The region on the cli-config was set incorrectly. For example, mine was set to “Sydney” instead of “ap-southeast-2”. Type “aws configure list” to check what yours is set to.
Thanks to the following stackoverflow post for the info: https://stackoverflow.com/a/40411174/522859
Leave a Reply