Hello I need some help in determining aws region inside a glue job.
I am trying to use boto3 client kms and when I do the following I get a Error
NoRegionError: You must specify a region.
kms = boto3.client('kms')
Obviously it is asking me to set region_name when creating the client but I do not wish to hardcode the region
When running a glue job i do see a line in the logs which says Detected region us-east-2
but I am not sure on how I can fetch that value ?