Files
coder/coderd
dylanhuff-at-coder 1ab0cc4db5 fix: use upstream terraform-config-inspect for template parsing (#32401)
Terraform 1.15 lets a module `source` or `version` reference `const`
variables and locals. Our fork of `terraform-config-inspect` rejected
those with "Variables not allowed", which failed template import for a
config Terraform accepts.

This drops the fork for upstream `hashicorp/terraform-config-inspect`,
which fixed it in hashicorp/terraform-config-inspect#146. The fork only
carried variable validation parsing that nothing here reads anymore.

Upstream also reads Terraform Stacks files and panics on Stacks-only
blocks, so `tfparse` now only passes it the `.tf` and `.tf.json` files
Terraform loads for a module and turns a loader panic into an error
diagnostic.

A dynamic module source still only works through the variable's default,
since `terraform init` runs without template variable values.

Refs CORE-541
2026-12-02 08:35:34 -08:00
..