-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless.yaml
43 lines (38 loc) · 972 Bytes
/
serverless.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
43
service: lubycon-event-gateway
package:
individually: true
provider:
name: aws
runtime: python3.9
region: ap-northeast-2
stage: ${opt:stage, "alpha"}
profile: lubycon-mgmt
lambdaHashingVersion: 20201221
plugins:
- serverless-python-requirements
- serverless-domain-manager
custom:
pythonRequirements:
dockerizePip: true
customDomain:
domainName: ${self:custom.${self:provider.stage}.subDomainName}.lubycon.io
stage: ${self:provider.stage}
certificateArn: arn:aws:acm:us-east-1:554707519121:certificate/652be07a-1826-43e6-a66e-1b6c36855be9
autoDomain: true
alpha:
subDomainName: event-gateway.alpha
production:
subDomainName: event-gateway
functions:
api:
package:
patterns:
- app/*
handler: app.main.handler
#architectures: arm64 서울리전 나와라아...
environment:
STAGE: ${self:provider.stage}
events:
- http:
method: any
path: /{proxy+}