The lib contains set of constructs which build and bake some required services in a stack.
The idea is to define config files which will drive the change for Cloudformation stacks.
For example, a website stack contains an S3 bucket and cloudfront distribution. These are synonymous to L3 cdk constructs.
It is done using conventialcommit and husky for git hooks to validate messages.
- New release is made PR is merged to master. This will push a commit.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template
- Add tests
- Cleanup
- Write documentation
- Do proper branching strategy