-
Notifications
You must be signed in to change notification settings - Fork 248
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
Bedrock Agent and Bedrock Agent Runtime do not use service specific endpoint overrides environment variables #1252
Comments
Edit: Ignore my previous message, I shouldn't be responding to issues that late at night. We should actually support this via this piece of generated code: aws-sdk-rust/sdk/bedrock/src/config.rs Lines 1289 to 1296 in ab2478c
If this isn't working it is a bug. |
Thanks. FYI Bedrock is a distinct service from bedrock agents. I'm not sure if that one also has this problem. |
Comments on closed issues are hard for our team to see. |
Fix for this will go out when the next smithy-rs is released. Re-opening until then. |
Comments on closed issues are hard for our team to see. |
Describe the bug
When setting
AWS_ENDPOINT_URL_BEDROCK_AGENT
and/orAWS_ENDPOINT_URL_BEDROCK_AGENT_RUNTIME
, the SDK continues using the default endpoint for the Bedrock Agent services. I have not tested other aws-sdk-rust crates.Regression Issue
Expected Behavior
Using these env vars should override the endpoint used.
Current Behavior
The default endpoint is used.
Reproduction Steps
Set the variables:
Configure the SDK without overriding the endpoint.
To show endpoint resolution, run with
RUST_LOG="info,aws_smithy_runtime::client::orchestrator::endpoints=debug" cargo run
Crate attached.
repro.zip
Possible Solution
No response
Additional Information/Context
AWS_ENDPOINT_URL
does override.Version
Environment details (OS name and version, etc.)
MacOS, M2 Pro, 15.2 (24C101)
Logs
No response
The text was updated successfully, but these errors were encountered: