From 1f32ad84716113a04fc5de2a6a19b2bab384cc26 Mon Sep 17 00:00:00 2001 From: pnadolny13 Date: Tue, 11 Apr 2023 16:30:38 -0400 Subject: [PATCH] add default region to assume role workflow --- tap_dynamodb/aws_authenticators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tap_dynamodb/aws_authenticators.py b/tap_dynamodb/aws_authenticators.py index 74b33af..6b46f18 100644 --- a/tap_dynamodb/aws_authenticators.py +++ b/tap_dynamodb/aws_authenticators.py @@ -109,4 +109,5 @@ def _assume_role(self, session, role_arn): aws_access_key_id=response["Credentials"]["AccessKeyId"], aws_secret_access_key=response["Credentials"]["SecretAccessKey"], aws_session_token=response["Credentials"]["SessionToken"], + region_name=self.aws_default_region, )