Skip to content

Releases: PSModule/Hcl

v0.0.1

03 May 13:11
aa15ae1

Choose a tag to compare

🩹 [Patch]: Initialize Hcl module (#3)

The Hcl module is now available on the PowerShell Gallery as version 0.0.1. This initial release reserves the module name and establishes the intended API surface — ConvertFrom-Hcl and ConvertTo-Hcl — for working with HashiCorp Configuration Language as used in Terraform, OpenTofu, and related infrastructure-as-code tooling. Both functions are placeholders that throw NotImplementedException until the full parser and serializer are implemented.

  • Fixes #2

New: Hcl module on the PowerShell Gallery

The module can be installed from the PowerShell Gallery:

Install-PSResource -Name Hcl
Import-Module -Name Hcl

ConvertFrom-Hcl and ConvertTo-Hcl are available as commands but throw NotImplementedException until the implementation is complete. Their presence reserves the intended API and allows downstream tooling to take a dependency on the module name.

Technical Details

  • All template boilerplate removed: Test-PSModuleTest.ps1, completers.ps1, PSModule/ and SomethingElse/ subdirectories, and tests/PSModuleTest.Tests.ps1.
  • ConvertFrom-Hcl and ConvertTo-Hcl added as public placeholder functions, following the same pattern as PSModule/Toml#init.
  • src/manifest.psd1 set to ModuleVersion = '0.0.1' to trigger the first publish pipeline run.
  • tests/Hcl.Tests.ps1 added with assertions that both placeholders throw as expected.
  • examples/General.ps1 and README.md updated with HCL-specific content (Terraform locals, .tfvars examples).