seanpedrickcase
commited on
Commit
•
3810d26
1
Parent(s):
dce6100
Corrected STS endpoint
Browse files- tools/aws_functions.py +1 -1
tools/aws_functions.py
CHANGED
@@ -24,7 +24,7 @@ except Exception as e:
|
|
24 |
|
25 |
|
26 |
def get_assumed_role_info():
|
27 |
-
sts = boto3.client('sts', region_name='eu-west-2')
|
28 |
response = sts.get_caller_identity()
|
29 |
|
30 |
# Extract ARN of the assumed role
|
|
|
24 |
|
25 |
|
26 |
def get_assumed_role_info():
|
27 |
+
sts = boto3.client('sts', region_name='eu-west-2', endpoint_url='https://sts.eu-west-2.amazonaws.com')
|
28 |
response = sts.get_caller_identity()
|
29 |
|
30 |
# Extract ARN of the assumed role
|