-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverless.yml
60 lines (52 loc) · 1.34 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
service: glhf
frameworkVersion: '^2.66.2'
variablesResolutionMode: 20210326
configValidationMode: error
plugins:
- serverless-jetpack
provider:
name: aws
architecture: arm64
runtime: nodejs18.x
region: ${env:AWS_DEFAULT_REGION, 'us-east-1'}
stage: stg
logRetentionInDays: 30
memorySize: 512
timeout: 30
tracing:
apiGateway: false
lambda: false
stackTags:
Owner: ${self:custom.owner}
Project: ${self:custom.app}
Name: ${self:custom.name}
Deployment: ${sls:stage}
httpApi:
payload: '2.0'
disableDefaultEndpoint: true
apiGateway:
shouldStartNameWithService: true
eventBridge:
useCloudFormation: true
deploymentBucket:
blockPublicAccess: true
lambdaHashingVersion: 20201221
iam:
role:
statements: ${file(./serverless/role.yml)}
environment: ${file(./serverless/environment.yml)}
layers:
- arn:aws:lambda:us-east-1:943013980633:layer:SentryNodeServerlessSDK:40
custom:
name: glhf
app: glhf
owner: pureskillgg
sentryDsn: https://[email protected]/5766209
ssmPrefix: /${self:custom.owner}/${self:custom.app}/${sls:stage}/${self:custom.name}
package:
individually: true
exclude: ${file(./serverless/exclude.yml)}
functions: ${file(./serverless/functions.yml)}
resources:
Resources: ${file(./serverless/resources.yml)}