Converts HCL to Terraform CDK
npm i -g hcl2cdktf
You should specify a Terraform file for processing:
hcl2cdktf test.tf
To output to a specific file instead of to stdout:
hcl2cdktf test.tf -o mycdktf.ts
(Optional) The filename of the output file
(Optional) Omit boilerplate like imports and class generation