Skip to content

An example of deploying infrastructure using CDKTF to Digital Ocean

Notifications You must be signed in to change notification settings

hintmedia/cdk-do-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example of deploying infrastructure using CDKTF to Digital Ocean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published