seanpedrickcase commited on
Commit
ee015e4
1 Parent(s): 4bb8d6f

Specified boto3 sts region

Browse files
Files changed (1) hide show
  1. search_funcs/aws_functions.py +1 -1
search_funcs/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')
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')
28
  response = sts.get_caller_identity()
29
 
30
  # Extract ARN of the assumed role