Skip to content

Instantly share code, notes, and snippets.

@wmakeev
Last active June 19, 2021 07:00
Show Gist options
  • Save wmakeev/286c40a4876375bf88cead3f981b477b to your computer and use it in GitHub Desktop.
Save wmakeev/286c40a4876375bf88cead3f981b477b to your computer and use it in GitHub Desktop.
[AWS CDK] #aws #cdk

AWS CDK

Parameters

Parameter Default Description
AWS_PROFILE default Profile name
AWS_ACCOUNT_ID Account ID (461136222763)
AWS_REGION Region (eu-west-1)

1. Install the AWS CDK

npm install -g aws-cdk
cdk --version

2. Bootstrapping

Use bootstrap.sh script

Links

# Only once for new acount and region
cdk bootstrap --profile %AWS_PROFILE% --cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess aws://%AWS_ACCOUNT_ID%/%AWS_REGION%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment