Add AWS lambda lib
This commit is contained in:
39
config.yaml
Normal file
39
config.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
region: us-east-1
|
||||
|
||||
function_name: avan_facts_bot
|
||||
handler: service.handler
|
||||
description: Random Avan facts vis groupme
|
||||
runtime: python3.8
|
||||
# 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}
|
||||
GROUPME_KEY: ${GROUPME_KEY}
|
||||
|
||||
# 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.
|
||||
Reference in New Issue
Block a user