Add DynamoDb support

This commit is contained in:
2020-04-30 22:25:20 -04:00
parent c85d5cada4
commit 7016926c3d
22 changed files with 84 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ region: us-east-2
function_name: avan_facts_bot
handler: service.handler
description: Random Avan facts via groupme
runtime: python3.8
runtime: python3.7
#role: lambda_basic_execution
# S3 upload requires appropriate role with s3:PutObject permission
@@ -25,7 +25,9 @@ aws_secret_access_key: ${AWS_TOKEN}
# Experimental Environment variables
environment_variables:
BOT_NAME: ${BOT_NAME}
DB_TABLE_NAME: ${DB_TABLE_NAME}
GROUPME_KEY: ${GROUPME_KEY}
FACTS_PATH: ${FACTS_PATH}
# If `tags` is uncommented then tags will be set at creation or update
# time. During an update all other tags will be removed except the tags