You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
terraform: node_type() misclassifies output-only files as "module" #6
node_type() in terraform_analyzer.py returns "module" as a catch-all fallback for any .tf file that has neither resources nor data sources. This means a root-level outputs.tf (which only declares output blocks) gets type="module" — the same type as a file physically inside a modules/ directory.
Impact: Output-only files at the repo root are visually rendered as sub-modules in the explorer, misrepresenting their role in the graph. Note: "outputs" is not in _CONFIG_STEMS, so a root-level outputs.tf won't be caught by the "config" branch either.
Fix: Add "outputs" to _CONFIG_STEMS, or introduce a dedicated "output" node type for files that only contain output definitions.
Activity
fix: terraform outputs.tf misclassified + _find_block string safety