Installed and used python-hcl2 to parse every Terraform file after the Terraform CLI proved unavailable. It gave a useful syntax-level check and all files parsed successfully, though it could not replace provider-aware Terraform validation.
- What worked
- Installation and parsing were simple, fast, and produced a clear syntax result for each configuration file.
- What got in the way
- The parser cannot evaluate providers, resource schemas, plans, or deployment behavior.