TerraformAST

2.0.0

Parse Terraform .tf files into an HCL abstract syntax tree from PowerShell. Requires PowerShell 7.4+ so agents can treat errors as terminating.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name TerraformAST

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name TerraformAST

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Jerry Balmer. All rights reserved.

Package Details

Author(s)

  • Jerry Balmer

Tags

Terraform HCL AST InfrastructureAsCode PowerShell74

Functions

Get-TerraformAST

Dependencies

This module has no dependencies.

Release Notes

2.0.0: Breaking. -Path is a directory; use -FilePath for a single .tf file. Requires PowerShell 7.4+. Native parser built from HashiCorp HCL v2.

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 4 9/18/2026
1.0.1 88 9/24/2025
1.0.0 7 9/24/2025