-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless-compose.yml
40 lines (37 loc) · 1.17 KB
/
serverless-compose.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
services:
# wave 1: no dependencies
database:
path: services/database
# topics:
# path: services/topics
ui:
path: services/ui
# uploads:
# path: services/uploads
# wave 2: depends on database
app-api:
path: services/app-api
params:
BannerTableName: ${database.BannerTableName}
QmsReportTableName: ${database.QmsReportTableName}
# wave 3: depends on many
ui-auth:
path: services/ui-auth
params:
ApiGatewayRestApiName: ${app-api.ApiGatewayRestApiName}
ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl}
# wave 4: depends on most
ui-src:
path: services/ui-src
params:
ApiRegion: ${app-api.Region}
ApiGatewayRestApiUrl: ${app-api.ApiGatewayRestApiUrl}
CognitoRegion: ${ui-auth.Region}
IdentityPoolId: ${ui-auth.IdentityPoolId}
UserPoolId: ${ui-auth.UserPoolId}
UserPoolClientId: ${ui-auth.UserPoolClientId}
UserPoolClientDomain: ${ui-auth.UserPoolClientDomain}
IdentityProvider: ${ui-auth.IdentityProvider}
S3BucketName: ${ui.S3BucketName}
CloudFrontDistributionId: ${ui.CloudFrontDistributionId}
ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl}