forked from pomu0325/pierre-decheck
-
Notifications
You must be signed in to change notification settings - Fork 1
/
serverless.yml
42 lines (38 loc) · 911 Bytes
/
serverless.yml
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
# For full config options, check the docs:
# docs.serverless.com
service: pierre
provider:
name: aws
runtime: python3.6
stage: 'dev'
region: us-east-1
versionFunctions: false
memorySize: 128
functions:
pierre:
handler: pierre_lambda.pierre_decheck
events:
- http:
path: pierre
method: post
# - cloudwatchLog:
# logGroup: '/aws/lambda/pierre'
# filter: ''
# Define function environment variables here
environment:
GITHUB_TOKEN: value2
GITHUB_SECRET: value2
# package: #specifications for the serverless-package-python-functions plugin
# include:
# - pierre
# artifact: ${self:custom.pkgPyFuncs.buildDir}/pierre.zip
##
#plugins:
# - serverless-package-python-functions
#
#custom:
# pkgPyFuncs: # plugin configuration
# buildDir: _build
# globalIncludes:
# - ./lib
# cleanup: true