This is responsible for creating resources in various AWS Accounts (API, Data stores, auth, etc)
-
Install NodeJs [https://nodejs.org/en]
-
Install git (Windows only) [https://git-scm.com/]
-
Install AWS CLI [https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html]
-
npm install -g typescript
Install TypeScript globally -
npm install -g aws-cdk
Install AWS CDK Toolkit (cdk cli)
- Windows:
doskey cdk=npx aws-cdk $*
- macOS/Linux:
alias cdk="npx aws-cdk"
git clone git@github.com:sigdotcom/mstacm-cdk.git
aws configure sso
AWS CLI Wizard for setting credentials for your ACM AWS accountnpm run bootstrap
Setup your AWS account with initial resources for CDK deploymentnpm run deploy
Compile TypeScript code to JS, synthesizes CloudFormation template, deploy this stack to AWS account
Bootstraping and authentication is a one time step, only need to run the deploy command from here on out:
npm run deploy
Compile TypeScript code to JS, synthesizes CloudFormation template, deploy this stack to AWS account