Skip to content

Latest commit

 

History

History

cdktf-example

Use Construct as NPM package in cdktf stack

This demonstrate how to use a custom construct NPM package in a cdktf stack.

cdktf diff

A few things to note

  • The custom construct should declare peerDependencies on cdktf and constructs
  • Until pre-built providers are shipped, the providers constructs have to built and commited in the custom construct and the consuming cdktf app