-
Notifications
You must be signed in to change notification settings - Fork 263
/
Copy pathaws_lambda_oauth_config.yaml
42 lines (35 loc) · 1.3 KB
/
aws_lambda_oauth_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
region: us-east-1
function_name: bolt_py_oauth_function
handler: aws_lambda_oauth.handler
description: My first lambda function
runtime: python3.8
role: bolt_python_s3_storage
# 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_secret_access_key:
# dist_directory: dist
# timeout: 15
# memory_size: 512
# concurrency: 500
# Lambda environment variables
environment_variables:
SLACK_SIGNING_SECRET: ${SLACK_SIGNING_SECRET}
SLACK_CLIENT_ID: ${SLACK_CLIENT_ID}
SLACK_CLIENT_SECRET: ${SLACK_CLIENT_SECRET}
SLACK_SCOPES: ${SLACK_SCOPES}
SLACK_INSTALLATION_S3_BUCKET_NAME: ${SLACK_INSTALLATION_S3_BUCKET_NAME}
SLACK_STATE_S3_BUCKET_NAME: ${SLACK_STATE_S3_BUCKET_NAME}
# 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: slack_bolt # a comma delimited list of directories in your project root that contains source to package.