Releases: PSModule/Hcl
Releases · PSModule/Hcl
v0.0.1
🩹 [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 HclConvertFrom-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/andSomethingElse/subdirectories, andtests/PSModuleTest.Tests.ps1. ConvertFrom-HclandConvertTo-Hcladded as public placeholder functions, following the same pattern as PSModule/Toml#init.src/manifest.psd1set toModuleVersion = '0.0.1'to trigger the first publish pipeline run.tests/Hcl.Tests.ps1added with assertions that both placeholders throw as expected.examples/General.ps1andREADME.mdupdated with HCL-specific content (Terraform locals,.tfvarsexamples).