-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless.yml
30 lines (26 loc) · 945 Bytes
/
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
org: clawfire # change this with your own org
app: covid19passbook-doctoranytime
service: passbook-sign
frameworkVersion: '2'
provider:
name: aws
stage: production
region: eu-central-1
runtime: nodejs12.x
lambdaHashingVersion: 20201221
layers:
- arn:aws:lambda:eu-central-1:034541671702:layer:openssl-lambda:1
functions:
sign:
handler: handler.sign
name: ${sls:stage}-passbook-sign
description: Sign a manifest.json for passbook signature
events:
- http:
path: sign
method: post
environment:
# put your key in this secret below. It should be a one liner with \n for new lines.
KEY : ${param:KEY}
# and your key passphrase here
KEY_PASSPHRASE : ${param:KEY_PASSPHRASE}