- awscli (
yarn install aws-sdk) - nvm
AWS credentials needs to be configured before you can run any CDK commands, do this be following these steps:
- Go to "Security credentials" in your avatar menu.
- Click "Create access key" and keep the secret key handy.
- Run
aws configureand input the values of your new key.
- run
nvm use - run
yarn install
| Command | Result |
|---|---|
| yarn bootstrap | anytime you update aws-cdk you must boostrap the project |
| yarn synth | synthesizes stack to check for errors before deploying |
| yarn deploy | deploys couldformation stack to AWS |