You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here -->
#2863awslabs/aws-sdk-rust#1060
## Description
<!--- Describe your changes in detail -->
This PR adds a new feature: the ability to source service-specific
config from the environment.
This is **only** supported when creating a service config from an
`SdkConfig`. I've posted [a
guide](#3537) to our
discussions board.
[This also adds support for setting an endpoint URL in environment
config.](#2863)
## Testing
<!--- Please describe in detail how you tested your changes -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->
I have written several tests ensuring config is extracted with the
correct precedence.
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by: John DiSanti <[email protected]>
Co-authored-by: ysaito1001 <[email protected]>
Currently, the only way to override the endpoint URL is by using the
ConfigLoader::endpoint_url
method: https://docs.rs/aws-config/latest/aws_config/struct.ConfigLoader.html#method.endpoint_urlRecently, the AWS CLI added support for using the
AWS_ENDPOINT_URL
env var for overriding the endpoint URL: aws/aws-cli#1270 (comment)It would be very useful to have support for this in
aws-config
The text was updated successfully, but these errors were encountered: