idoavrah / terraform-tui

Terraform textual UI
https://pypi.org/project/tftui/
Apache License 2.0
1.03k stars 30 forks source link

feature request: visualize existing tfstate file #28

Closed Mykhailo-Roit closed 11 months ago

Mykhailo-Roit commented 1 year ago

only use terraform show <someplanfile> as input for visualize

This file can create via terraform plan -out=<someplanfile>

idoavrah commented 1 year ago

tf show plan.out has an entirely different format (+/-). It will require a seperate parsing method. Also, the output is usually much smaller than the full state file.

Is there a real benefit in showing it in the TUI instead of viewing it on screen as a regular output?

Mykhailo-Roit commented 1 year ago

main goal is to visualize only planned changes For big infra finding changes is quite difficult when using full state file

Mykhailo-Roit commented 1 year ago

and out file can reduce a time for waiting because planning requires a lot of time for big infra

idoavrah commented 11 months ago

@Mykhailo-Roit plan and apply was added in v0.11.

Check it out.