terraform-visual
terraform-visual copied to clipboard
[FEATURE REQUEST] Also visualize standard tf show output
(Love this project btw. I've been looking for something like this for a while...)
In addition to visualizing tf plan output, could you also just allow for the terraform show -json
output as well? Visualize the resources in a tree just like it does now, but show current state instead of the plan.
@neil-wwt thanks for liking the project 👍
I gave that a thought before but found terraform graph
has already provided the state graph. I'm wondering if it fits your needs or there are additional values to put it into Terraform Visual?
Hi @hieven. Yeah, graph
is helpful in some cases but leaves at least two big things to be desired for me.
-
Not a very attractive visualization with zero interactivity. It just outputs the DOT file which you need another tool (like graphviz) to visualize, and even when you do it's static, not pretty and can be tough to navigate for projects of a certain size.
-
Not very informative. It just shows names and dependencies, but does not make it any easier to view the code or attributes of a given resource.
terraform graph
is great for basic dependency mapping, but does not do much for resource exploration and visualization of a large, complicated state file.
Hi @neil-wwt, thanks for the comments. Those comments totally make sense to me and I'd love to consider including visualizing TF state in the next step.
Before that, I've just made a CLI and published it to NPM, would you mind to give it a try and see how it feel like? If everything works well, I might include this feature into the CLI too
https://www.npmjs.com/package/@terraform-visual/cli
Hi @hieven , great tool you've made. I would also be interested for the app to show the output of terraform show as well.
+1 on this! Amazing tool and would be really cool if we could also show the output of terraform show with it