-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMDCT-4105 - updates to serverless files to make v4 work correctly
- Loading branch information
1 parent
7f03a5d
commit 2100659
Showing
14 changed files
with
1,129 additions
and
1,002 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,56 @@ | ||
build: | ||
esbuild: | ||
bundle: false | ||
|
||
services: | ||
# wave 1: no dependencies | ||
database: | ||
path: services/database | ||
# topics: | ||
# path: services/topics | ||
# ui: | ||
# path: services/ui | ||
topics: | ||
path: services/topics | ||
ui: | ||
path: services/ui | ||
|
||
# # wave 2: depends on database | ||
# uploads: | ||
# path: services/uploads | ||
# params: | ||
# MeasureTable: ${database.MeasureTable} | ||
# CoreSetTable: ${database.CoreSetTable} | ||
# RateTable: ${database.RateTable} | ||
# wave 2: depends on database | ||
uploads: | ||
path: services/uploads | ||
params: | ||
MeasureTable: ${database.MeasureTable} | ||
CoreSetTable: ${database.CoreSetTable} | ||
RateTable: ${database.RateTable} | ||
|
||
# app-api: | ||
# path: services/app-api | ||
# params: | ||
# CoreSetTable: ${database.CoreSetTable} | ||
# CoreSetTableStreamArn: ${database.CoreSetTableStreamArn} | ||
# MeasureTable: ${database.MeasureTable} | ||
# MeasureTableStreamArn: ${database.MeasureTableStreamArn} | ||
# RateTable: ${database.RateTable} | ||
# RateTableStreamArn: ${database.RateTableStreamArn} | ||
# BannerTableName: ${database.BannerTableName} | ||
app-api: | ||
path: services/app-api | ||
params: | ||
CoreSetTable: ${database.CoreSetTable} | ||
CoreSetTableStreamArn: ${database.CoreSetTableStreamArn} | ||
MeasureTable: ${database.MeasureTable} | ||
MeasureTableStreamArn: ${database.MeasureTableStreamArn} | ||
RateTable: ${database.RateTable} | ||
RateTableStreamArn: ${database.RateTableStreamArn} | ||
BannerTableName: ${database.BannerTableName} | ||
|
||
# # wave 3: depends on many | ||
# ui-auth: | ||
# path: services/ui-auth | ||
# params: | ||
# AttachmentsBucketArn: ${uploads.AttachmentsBucketArn} | ||
# ApiGatewayRestApiName: ${app-api.ApiGatewayRestApiName} | ||
# ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl} | ||
# wave 3: depends on many | ||
ui-auth: | ||
path: services/ui-auth | ||
params: | ||
AttachmentsBucketArn: ${uploads.AttachmentsBucketArn} | ||
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} | ||
# AttachmentsBucketRegion: ${uploads.Region} | ||
# AttachmentsBucketName: ${uploads.AttachmentsBucketName} | ||
# S3BucketName: ${ui.S3BucketName} | ||
# CloudFrontDistributionId: ${ui.CloudFrontDistributionId} | ||
# 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} | ||
AttachmentsBucketRegion: ${uploads.Region} | ||
AttachmentsBucketName: ${uploads.AttachmentsBucketName} | ||
S3BucketName: ${ui.S3BucketName} | ||
CloudFrontDistributionId: ${ui.CloudFrontDistributionId} | ||
ApplicationEndpointUrl: ${ui.ApplicationEndpointUrl} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "ui-auth", | ||
"type": "module", | ||
"description": "", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.