-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
44 lines (41 loc) · 897 Bytes
/
serverless.yml
File metadata and controls
44 lines (41 loc) · 897 Bytes
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
43
44
service: lambda-github-check
provider:
name: aws
runtime: nodejs16.x
architecture: arm64
stage: ${opt:stage, 'dev'}
region: ${opt:region, 'eu-north-1'}
memorySize: ${opt:memory, 512}
timeout: 10
logRetentionInDays: 7
versionFunctions: false
deploymentBucket:
blockPublicAccess: true
maxPreviousDeploymentArtifacts: 5
serverSideEncryption: AES256
stackTags:
Usage: ${self:service}
tags:
Usage: ${self:service}
apiGateway:
minimumCompressionSize: 1024
package:
individually: true
patterns:
- '!*'
- '!**/*'
- 'package.json'
- 'src/*'
- 'node_modules/**/*'
functions:
GitHubAppHandler:
handler: src/index.handler
description: GitHub App handler
events:
- http:
method: POST
path: /
environment:
GITHUB_APP_PRIVATE_KEY: ''
GITHUB_APP_ID: ''
GITHUB_APP_SECRET: ''