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
feat(cli): terraform & opentofu hcl ast analysis, state introspection & drift optimization research #310
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Infrastructure as Code commands execute full tofu / terraform binary runs for static checks, incurring substantial startup latency and disk I/O for simple plan and drift inspections.
Scope & Deliverables
Context & Rationale*: Infrastructure as Code commands execute full tofu / terraform binary runs for static checks, incurring substantial startup latency and disk I/O for simple plan and drift inspections.
Deep Integration & Functional Extension*: In-process HCL AST parsing (python-hcl2) and state file JSON schema introspection (terraform.tfstate) to inspect resource graphs, analyze attribute references, detect configuration drift, and calculate cost estimations without spawning binary CLI processes for read-only queries.
Code Optimization & Performance Acceleration*: Accelerate IaC drift detection and configuration linting by 90%+ by bypassing CLI binary initialization; construct direct topological resource DAGs in memory for instant blast-radius visualization.
Refactoring Potential & Legacy Elimination*: Refactor src/devops_cli/commands/tf.py into a declarative IaC analysis service; remove repetitive CLI argument list builders; replace ad-hoc regex cost estimation with a typed Infracost schema parser.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/cliCore CLI framework, Typer subcommands, options, and tablestype/featureType feature: a new function
Activity
feat(tf): analyze HCL and state in-process for graphs and drift (#310) (
dan-petty commentedon Sep 21, 2026
Closed by #352, merged into
release/v0.2.22.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.22 (#335)