Skip to content

Instantly share code, notes, and snippets.

@GuyT07
Last active May 6, 2020 06:48
Show Gist options
  • Save GuyT07/8d1e1f5fa252d6d1f6df21cb1d86e2ec to your computer and use it in GitHub Desktop.
Save GuyT07/8d1e1f5fa252d6d1f6df21cb1d86e2ec to your computer and use it in GitHub Desktop.

Step 1

  • Update Brew: brew update
  • Install Node & NPM: brew install node
  • Globally install CDK : npm i -g aws-cdk
  • Check your installed CDK version: cdk --version. Version should be 1.36.1 (at time of writing)
  • In case of any error run npx npm-check-updates -u to update your packages

Step 2

Step 3

  • Check if AWS credentials file is available (and correct): nano ~/.aws/credentials
  • Add a profile (if not set). A profile looks like:
[dev]
aws_access_key_id=your-aws-access-key
aws_secret_access_key=your-aws-secret-access-key
region=eu-west-1

The key AWS access key and AWS secret access key can be found/set under IAM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment