/cdktf-demo

Primary LanguageJavaScript

How to initiate this project

npm install

CDK for Terraform Commands

cdktf init -> Create a new cdktf project from a template.

cdktf get -> Generate CDK Constructs for Terraform providers and modules.

cdktf convert -> Converts a single file of HCL configuration to CDK for Terraform. Takes the file to be converted on stdin.

cdktf deploy [stacks...] -> Deploy the given stacks

cdktf diff [stack] -> Perform a diff (terraform plan) for the given stack

cdktf login -> Retrieves an API token to connect to Terraform Cloud or Terraform Enterprise.

cdktf synth -> Synthesizes Terraform code for the given app in a directory.