42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
region: us-east-2
|
|
|
|
function_name: avan_facts_bot
|
|
handler: service.handler
|
|
description: Random Avan facts via groupme
|
|
runtime: python3.7
|
|
#role: lambda_basic_execution
|
|
|
|
# S3 upload requires appropriate role with s3:PutObject permission
|
|
# (ex. basic_s3_upload), a destination bucket, and the key prefix
|
|
# bucket_name: 'example-bucket'
|
|
# s3_key_prefix: 'path/to/file/'
|
|
|
|
# if access key and secret are left blank, boto will use the credentials
|
|
# defined in the [default] section of ~/.aws/credentials.
|
|
aws_access_key_id: ${AWS_TOKEN_ID}
|
|
aws_secret_access_key: ${AWS_TOKEN}
|
|
|
|
# dist_directory: dist
|
|
# timeout: 15
|
|
# memory_size: 512
|
|
# concurrency: 500
|
|
#
|
|
|
|
# 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
|
|
# listed here.
|
|
#tags:
|
|
# tag_1: foo
|
|
# tag_2: bar
|
|
|
|
# Build options
|
|
build:
|
|
source_directories: lib # a comma delimited list of directories in your project root that contains source to package.
|