Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3Sync operation cause IllegalLocationConstraintException #98

Open
dengmingtong opened this issue Jan 21, 2022 · 0 comments
Open

s3Sync operation cause IllegalLocationConstraintException #98

dengmingtong opened this issue Jan 21, 2022 · 0 comments

Comments

@dengmingtong
Copy link

Hello,
I am using serverless s3Sync to copy local file to aws s3 in HongKong(ap-east-1) region, I got below error:

IllegalLocationConstraintException: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
at Request.extractError (/home/ec2-user/environment/gcr-solutions/service-workbench-on-aws/node_modules/.pnpm/[email protected]/node_modules/aws-sdk/lib/services/s3.js:837:35)

Does serverless s3Sync support AWS HongKong region?
If yes, how can I config serverless.yml to fix this issue?

Thanks
Mingtong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant