Infrastructure for deploying the Statsugiri monorepo. Provisioned by AWS CDK.
Some stacks may require certain resources to be provisioned before deploying (eg. PsIngestionStack
should be deployed before PsTeamsService
).
npm run build
to compile packagecdk synth
to view synthesized CloudFormation templatecdk list
to list built stackscdk deploy <STACK>
to deploy stack to assumed AWS account
Create an Amazon Web Services account. Run aws configure
and follow the prompts.
Elastic Container Registry (ECR) repositories must be created with an available image prior to deploying. For manual image pushes, please refer to your ECR console's push commands.
ps-replay-extraction-lambda
ps-replay-transform-lambda
ps-teams-ddb-writer-lambda
Specify the tag you wish to deploy in Beta
and Prod
in constants/ecr-constants.ts
. The default development environment tag is latest
.