This repository contains templates to roll out FormSG onto an AWS account.
It is written using AWS' Cloud Development Kit (CDK).
This repository's most significant artifact is a CloudFormation template, accessible via this project's releases, and via the Go.gov.sg link found on the GitHub page.
More information about using the CloudFormation template can be found on the wiki.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template