hcl2cdktf

0.1.10 • Public • Published

hcl2cdktf

NPM version

Converts HCL to Terraform CDK

Installation

npm i -g hcl2cdktf

Usage

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

-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)

Readme

Keywords

Package Sidebar

Install

npm i hcl2cdktf

Weekly Downloads

12

Version

0.1.10

License

MIT

Unpacked Size

34.5 kB

Total Files

12

Last publish

Collaborators

  • iann0036