mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(bedrock_httpx.py): Fix STS region endpoint.
This commit is contained in:
parent
240a0da271
commit
fd16937ad8
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ class BedrockLLM(BaseLLM):
|
|||
sts_client = boto3.client(
|
||||
"sts",
|
||||
region_name=aws_region_name,
|
||||
endpoint_url=f"https://sts.{aws_region_name}.amazonaws.com"
|
||||
)
|
||||
|
||||
# https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue