This command line interface tool automates many of the tedious tasks of building, adding to, documenting, and extending AWS CDK applications. It is an opinionated tool that integrates Well-Architected principals of cloud native software design by default.
- Automates templated build of a basic multi-stack CDK application with integrated security, devops, and pre-formatted documentation.
- Automates templated build of a starter CDK stack
- Automates templated build of a starter CDK construct
- Automates templated build of DevOps tooling for CDK deployment on Github or Gitlab
To install directly from the git source you can also use the command below. Coming soon this will be available via npm.
npm i -g https://github.com/aws-samples/iac-devtools-cli-for-cdk.gitnpm ls -gYou should see a version of iac-devtools-cli-for-cdk listed in your node packages.
If you are creating a new app you will need to create a new directory to work from
mkdir your-directory-name
cd your-directory-nameIf you are adding a construct or stack you will need to navigate to the directory to work from
cd path/of/your/directoryRun the tool!
idt
You should see some options that look like this:
Follow the prompts to:
- Create a whole application
- Create an application stack
- Create an application construct
- Create devops tools
You will now see a full populated template in your working directory.
Since this is not yet in a public npm registry the easiest update method right now is to remove and then reinstall 😢. We are working on making this a little easier.
npm uninstall -g @aws-energy-solutions/iac-devtools-cli-for-cdk- Build projects from templates
- CDK Typescript template
- CDK Typescript construct template
- CDK Custom Resource Template
- Github and Gitlab DevOps tools templates
- Run security checks
- BYO template directory


