Skip to content

v1.0.0: Other files

Latest
Compare
Choose a tag to compare
@grigsos grigsos released this 20 Apr 15:37
· 2 commits to main since this release

Upload this to deployment package to Lambda, change environmental variables to fit the ones in constants

TABLE_NAME: str = os.environ.get('dynamoDB_TABLE_NAME')
REGION_NAME: str = os.environ.get('REGION_NAME')
COUNTRY_ID: str = os.environ.get('COUNTRY_ID')
HOURS_THRESHOLD: int = int(os.environ.get('HOURS_THRESHOLD', '5'))
MUTEX_KEY: int = int(os.environ.get('MUTEX_KEY'))
PARTITION_KEY: str = os.environ.get('PARTITION_KEY')