hcl2cdktf
v0.1.10
Published
Convert HCL to Terraform CDK
Readme
hcl2cdktf
Converts HCL to Terraform CDK
Installation
npm i -g hcl2cdktfUsage
You should specify a Terraform file for processing:
hcl2cdktf test.tfTo output to a specific file instead of to stdout:
hcl2cdktf test.tf -o mycdktf.ts-o, --output-filename <filename>
(Optional) The filename of the output file
-b, --bare
(Optional) Omit boilerplate like imports and class generation
Supported Features
- [x] HCL1 & HCL2
- [x] Providers
- [x] Resources
- [x] Data Sources
- [x] Outputs
- [x] Attribute referencing
- [x] Locals (via escape hatch)
