terraform-visual icon indicating copy to clipboard operation
terraform-visual copied to clipboard

[FEATURE REQUEST] Also visualize standard tf show output

Open neil-wwt opened this issue 4 years ago • 5 comments

(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 avatar Jul 23 '20 22:07 neil-wwt

@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?

hieven avatar Jul 26 '20 22:07 hieven

Hi @hieven. Yeah, graph is helpful in some cases but leaves at least two big things to be desired for me.

  1. 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.

  2. 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.

neil-wwt avatar Jul 30 '20 12:07 neil-wwt

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

hieven avatar Jul 31 '20 07:07 hieven

Hi @hieven , great tool you've made. I would also be interested for the app to show the output of terraform show as well.

Endriuz22 avatar Mar 30 '21 11:03 Endriuz22

+1 on this! Amazing tool and would be really cool if we could also show the output of terraform show with it

juangesino avatar May 18 '21 19:05 juangesino