From 15b9998b09e43dea4c1ff221b6a0ee8ef1d73b4a Mon Sep 17 00:00:00 2001 From: Timmy Huang Date: Mon, 23 Dec 2024 08:58:45 -0800 Subject: [PATCH] more debug --- server/common/utils/data_locator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/common/utils/data_locator.py b/server/common/utils/data_locator.py index e5e04430d..1760d62b1 100644 --- a/server/common/utils/data_locator.py +++ b/server/common/utils/data_locator.py @@ -153,7 +153,9 @@ def discover_s3_region_name(uri): # type: ignore # DEBUG Check identity of assumed role sts_client = boto3.client("sts") response = sts_client.get_caller_identity() + print("~~~~~~~~~~~~~~~~~~~~~~~~😎~~~~~~~~~~~~~~~~~~~~~~~~") print(f"Assumed role details: {response}") + print("~~~~~~~~~~~~~~~~~~~~~~~~😎~~~~~~~~~~~~~~~~~~~~~~~~") try: res = client.head_bucket(Bucket=bucket)