-
Create PAT in Github
-
Create Github Secret
aws secretsmanager create-secret --name "github-token" --description "Github Token" --secret-string "<YOUR_TOKEN>"
- Admin access for Pipeline
cdk bootstrap aws://<YOUR_ACCOUNT_NUMBER>/<REGION> --profile <USERNAME> --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess
To Run:
cdk bootstrap
cdk deploy
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