This repository was archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless-dev.yml
More file actions
45 lines (37 loc) · 1.45 KB
/
serverless-dev.yml
File metadata and controls
45 lines (37 loc) · 1.45 KB
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
service: afreehp-api
# provider 설정
provider:
name: aws
runtime: nodejs18.x
stage: dev
region: ap-northeast-2
architecture: arm64
memorySize: ${file(.deploy/provider/${opt:stage, self:provider.stage}.yml):memorySize}
iamRoleStatements: ${file(.deploy/provider/${opt:stage, self:provider.stage}.yml):iamRoleStatements}
# plugins 설정
plugins:
- serverless-dynamodb-autoscaling
- serverless-plugin-layer-manager
- serverless-lift
# functions 설정
functions:
logger: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):logger}
app: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):app}
connect: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):connect}
disconnect: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):disconnect}
message: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):message}
schedule: ${file(.deploy/functions/${opt:stage, self:provider.stage}.yml):schedule}
# resources 설정
resources: ${file(.deploy/resources/${opt:stage, self:provider.stage}.yml):resources}
# constructs 설정
constructs: ${file(.deploy/constructs/${opt:stage, self:provider.stage}.yml):constructs}
# layers 설정
layers: ${file(.deploy/layers/${opt:stage, self:provider.stage}.yml):layers}
# custom 설정
custom: ${file(.deploy/custom/${opt:stage, self:provider.stage}.yml):custom}
# package 설정
package:
exclude:
- .github/**
- public/**
- node_modules/**