Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Also visualize standard tf show output #5

Open
neil-wwt opened this issue Jul 23, 2020 · 5 comments
Open

[FEATURE REQUEST] Also visualize standard tf show output #5

neil-wwt opened this issue Jul 23, 2020 · 5 comments

Comments

@neil-wwt
Copy link

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

@hieven
Copy link
Owner

hieven commented Jul 26, 2020

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

@neil-wwt
Copy link
Author

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.

@hieven
Copy link
Owner

hieven commented Jul 31, 2020

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

@Endriuz22
Copy link

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

@juangesino
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants