Ref: https://intellipaat.com/community/8004/how-to-get-the-region-of-the-current-user-from-boto
import boto3 my_session = boto3.session.Session() my_region = my_session.region_name print(my_region)
No comments:
Post a Comment