Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 682 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 682 Bytes

CDKTF Digital Ocean Example

Try It Out

To use cdktf you will need the following packages installed:

  • Terraform ≥ 0.12
  • Node.js ≥ 12.16
  • Yarn ≥ 1.21

To install cdktf, we will use npm install

$ npm install --global cdktf-cli

To install dependencies: $ yarn install then $ cdktf get

You will also need to create a personal access token on Digital Ocean if you would like to deploy this config.

With that out of the way, let's deploy our example.

$ DO_TOKEN=<your personal access token> cdktf deploy

To clean up, run:

$ DO_TOKEN=<your personal access token> cdktf destroy