From 3bc26b6ac18ad70bfb7c87999c6022ce1c265aa4 Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Thu, 25 Jun 2026 09:20:05 +0100 Subject: [PATCH] fix: bump hcl2json parser to v0.6.9 for namespaced provider functions Bump the pinned hcl2json (HCLToJSON) parser from v0.6.0 to v0.6.9 so it can parse Terraform provider-defined (namespaced) functions used in the accelerator templates, e.g. provider::azapi::parse_resource_id. Root cause: v0.6.0 vendors hashicorp/hcl/v2 v2.17.0, which predates support for the namespaced provider::::() call syntax (added in hcl v2.20.0). It therefore fails parsing variables.connectivity.virtual.wan.tf with 'Missing argument separator' at the first ::. v0.6.9 vendors hcl v2.24.0, which fully supports the syntax. The release assets keep the same naming scheme, so Get-HCLParserTool needs no changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/ALZ/Public/Deploy-Accelerator.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ALZ/Public/Deploy-Accelerator.ps1 b/src/ALZ/Public/Deploy-Accelerator.ps1 index 3514e49..5e0da6b 100644 --- a/src/ALZ/Public/Deploy-Accelerator.ps1 +++ b/src/ALZ/Public/Deploy-Accelerator.ps1 @@ -376,7 +376,7 @@ function Deploy-Accelerator { Get-TerraformTool @terraformToolParams $hclParserToolParams = @{ - toolVersion = "v0.6.0" + toolVersion = "v0.6.9" toolsPath = $toolsPath maxRetryCount = $http_request_max_retry_count retryIntervalSeconds = $http_request_retry_interval_seconds