Skip to content

Latest commit

 

History

History

setup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Setup

First you need to install the cdk cli globally:

npm install -g aws-cdk
yarn install

Next, you need to created a .env file in the root directory and define the following three variables:

  1. AWS_PROFILE: The name of the Named Profile that provides the credentials for your account.
  2. AWS_ACCOUNT_ID: Your AWS Account ID number.
  3. AWS_REGION: The AWS Region to which the cdk cli will submit api calls.

The file should look something like this:

AWS_PROFILE=spencer
AWS_ACCOUNT_ID=7124579443257
AWS_REGION=us-east-1

You can also run yarn env and a cli will prompt you the values and create the file for you. The .env file is not tracked by git.