-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
47 lines (47 loc) · 1.1 KB
/
serverless.yml
File metadata and controls
47 lines (47 loc) · 1.1 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
46
47
service:
name: push-api
package:
individually: true
exclude:
- '**/**'
plugins:
- serverless-aws-documentation
- serverless-offline
custom:
kaskadi-docs:
hostname: api.klimapartner.net
root: push
documentation:
api:
info:
version: 1.0.0
title: ${self:service.name}
description: API to manage push notifications
provider:
name: aws
runtime: nodejs12.x
stackName: ${self:service.name}-stack
apiName: ${self:service.name}
stage: ${opt:stage, 'prod'}
region: eu-central-1
deploymentBucket:
name: kaskadi-serverless-deployment-bucket
stackTags:
app: kaskadi
tags:
app: kaskadi
service: ${self:service.name}
logical-unit: push
type: http
environment:
ES_ID: ${env:ES_ID}
ES_SECRET: ${env:ES_SECRET}
ES_ENDPOINT: ${env:ES_ENDPOINT}
functions:
RegisterSub: ${file(./lambdas/register-sub/serverless.yml)}
PublicKey: ${file(./lambdas/public-key/serverless.yml)}
layers:
ApiLayer: ${file(./layer/serverless.yml)}
resources:
Resources:
CognitoAuthorizer: ${file(./resources/cognito-authorizer/serverless.yml)}