in src/monitor.py [0:0]
def create_service_resource(session: Session, stage: str):
if stage != 'DEV':
return session.resource('dynamodb')
# Setting the endpoint creates a table in your local version of DynamoDB.
# Before running Secure Contact you should set up the DynamoDB tables.
return session.resource('dynamodb', endpoint_url="http://localhost:8000")