boto3 client NoRegionError: Błąd regionu należy określić tylko czasami

Mam klienta boto3: boto3.client('kms') Ale dzieje się to na nowych maszynach, otwierają się i zamykają dynamicznie. if endpoint is None: if region_name is None: # Raise a more specific error message that will give # better guidance to the user what needs to happen. raise...