-
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 buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation template