Skip to content

Commit efa0c35

Browse files
committed
boto3 resource
1 parent 490cd21 commit efa0c35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lambdas/shared/src/common/clients.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import logging
33
from boto3 import client as boto3_client
4+
import boto3
45

56
logging.basicConfig(level="INFO")
67
logger = logging.getLogger()
@@ -17,4 +18,4 @@
1718
# boto_config = Config(region_name=REGION_NAME)
1819
# secretsmanager_client = boto3_client("secretsmanager", config=boto_config)
1920
secrets_manager_client = boto3_client("secretsmanager", region_name=REGION_NAME)
20-
dynamodb_client = boto3_client("dynamodb", region_name=REGION_NAME)
21+
dynamodb_client = boto3.resource("dynamodb", region_name=REGION_NAME)

0 commit comments

Comments
 (0)