Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan committed Dec 23, 2024
1 parent 366e793 commit 15b9998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/common/utils/data_locator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 15b9998

Please sign in to comment.