-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Remove deprecated config DEFAULT_REGION #9375
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
Conversation
|
Currently, only minor and patch changes are allowed on master. Your PR labels (semver: major) indicate that it cannot be merged into the master at this time. |
5606482 to
d4b8bc1
Compare
alexrashed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am glad we are finally trying to get rid of the DEFAULT_REGION.
Unfortunately, it seems that we have to find an alternative for the ARN partition rewriting...
Besides that, I only found some minor things (like that we should still warn the user that they are using a variable that doesn't have an effect anymore)...
a17da70 to
c97ddc3
Compare
f0905dd to
05b0c1b
Compare
alexrashed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the comments, and cleaning up all the usages! This is a great step forward with the multi-region support, and to make sure that the region is properly handled for all requests. 🚀
Motivation
The
DEFAULT_REGIONenvironment config variable was used in early years of LocalStack when multi-region was unsupported. It has since been deprecated.This PR removes this config variable for the upcoming major release.