0.1.10 • Published 5 years ago
hcl2cdktf v0.1.10
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
- HCL1 & HCL2
- Providers
- Resources
- Data Sources
- Outputs
- Attribute referencing
- Locals (via escape hatch)