diff --git a/postgres/tests/test_manage_users.py b/postgres/tests/test_manage_users.py index b39e13276..a8bb0b99a 100644 --- a/postgres/tests/test_manage_users.py +++ b/postgres/tests/test_manage_users.py @@ -126,7 +126,7 @@ def test_handler(self, mock_connect, mock_create_or_update_db_user): handler(self.event, self.context) - user_password = json.loads(boto3.client("ssm").get_parameter(Name=self.secret_name, WithDecryption=True)["Parameter"]["Value"])[ + user_password = json.loads(boto3.client("ssm", region_name="eu-west-2").get_parameter(Name=self.secret_name, WithDecryption=True)["Parameter"]["Value"])[ "password" ]