FICHA · AUR

hcl2json

Convert hcl2 to json

  • cli
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 1, 2026 description in en

Description

HCL2 configuration can be converted into JSON so tools and scripts that understand JSON can inspect the same data.

It is useful for Terraform-adjacent workflows, configuration analysis, validation pipelines, and automation that needs structured output. Conversion can lose comments or formatting intent, so keep the original HCL files as the editable source of truth.

How to run

hcl2json

Commands: hcl2json

Permissions

Permissions not analysed for this source yet.