Skip to content

Commit 58d85b6

Browse files
committed
fix: boto session default endpoint url
1 parent 787f88d commit 58d85b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/feature_store/feature_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_session_from_role(region: str, assume_role: str = None) -> Session:
4747
# It will try to assume the role specified
4848
if assume_role:
4949
sts = boto_session.client(
50-
"sts", region_name=region, endpoint_url=f"https://sts.{region}.amazonaws.com"
50+
"sts", region_name=region
5151
)
5252

5353
credentials = sts.assume_role(

0 commit comments

Comments
 (0)