-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverless.yml
52 lines (51 loc) · 1.23 KB
/
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
43
44
45
46
47
48
49
50
51
52
service: pulumi-serverless-journey
frameworkVersion: "3"
provider:
name: aws
runtime: nodejs14.x
region: us-east-1
stage: dev
environment:
AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1"
plugins:
- serverless-bundle
- serverless-iam-roles-per-function
custom: {}
package:
individually: true
functions:
function1:
handler: ./src/functions/function1/handler.main
iamRoleStatementsName: "function1-exec-role-pulumi-serverless-journey"
iamRoleStatementsInherit: true
timeout: 5
memorySize: 256
events:
- http:
path: /function1
method: POST
cors: true
function2:
handler: ./src/functions/function2/handler.main
iamRoleStatementsName: "function2-exec-role-pulumi-serverless-journey"
iamRoleStatementsInherit: true
timeout: 5
memorySize: 256
events:
- http:
path: /function2
method: POST
cors: true
function3:
handler: ./src/functions/function3/handler.main
iamRoleStatementsName: "function3-exec-role-pulumi-serverless-journey"
iamRoleStatementsInherit: true
timeout: 5
memorySize: 256
events:
- http:
path: /function3
method: POST
cors: true
resources:
Resources: