-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverless.yml
44 lines (39 loc) · 860 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
31
32
33
34
35
36
37
38
39
40
41
42
service: koinonia
frameworkVersion: '3'
provider:
name: aws
runtime: nodejs18.x
region: eu-west-1
profile: my
versionFunctions: true
memorySize: 512
iam:
role:
statements:
- Effect: "Allow"
Action:
- "s3:ListBucket"
Resource: "*"
- Effect: "Allow"
Action:
- "s3:PutObject"
Resource: "*"
- Effect: Allow
Action:
- lambda:InvokeFunction
- lambda:InvokeFunctionConfiguration
- lambda:GetFunction
- lambda:GetFunctionConfiguration
Resource: "*"
- Effect: Allow
Action:
- execute-api:Invoke
Resource: "*"
package:
individually: true
functions:
app:
handler: index.handler
events:
- http: ANY /
- http: ANY /{proxy+}