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
Mark deprecated env config options #8913
Conversation
5f3651e
to
6f8c108
Compare
EnvVarDeprecation( | ||
"KINESIS_INITIALIZE_STREAMS", | ||
"1.4.0", | ||
"This feature is marked for removal. Please use AWS client API to seed Kinesis streams.", | ||
), |
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.
deprecated in #7230
EnvVarDeprecation( | ||
"ES_CUSTOM_BACKEND", | ||
"0.14.0", | ||
"This option is marked for removal. Please use OPENSEARCH_CUSTOM_BACKEND instead.", | ||
), | ||
EnvVarDeprecation( | ||
"ES_MULTI_CLUSTER", | ||
"0.14.0", | ||
"This option is marked for removal. Please use OPENSEARCH_MULTI_CLUSTER instead.", | ||
), | ||
EnvVarDeprecation( | ||
"ES_ENDPOINT_STRATEGY", | ||
"0.14.0", | ||
"This option is marked for removal. Please use OPENSEARCH_ENDPOINT_STRATEGY instead.", | ||
), |
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.
deprecated in #5341
localstack/deprecations.py
Outdated
EnvVarDeprecation( | ||
"SERVICES", | ||
"2.0.0", | ||
"This option is marked for removal. LocalStack lazy loads services by default. " | ||
"You may use EAGER_SERVICE_LOADING to load all services at startup. ", | ||
), |
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.
deprecated in #6438
6ae6ae7
to
8e71e26
Compare
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.
LGTM
Motivation
Some of the environment config options did not raise the deprecation warning when used. Although our docs correctly mentioned them as deprecated.
Implementation
This PR adds marks them as such.
To-do
SERVICES
as deprecatedRelated
See localstack/docs#763 where this is synced.