rover
rover copied to clipboard
[feature] visualizing the state file
Instead of just relying on diffs, would it make sense to supply a state backend directly and visualize the infra structure? I see other issues related to TF Cloud integration. I think it would be cool to visualize a workspace.
Hi @nhomble, can you elaborate on this? Are you proposing visualizing from the state file only as opposed to the plan file?
Also, what did you mean by "I see other issues related to TF Cloud integration"?
proposing visualizing from the state file only as opposed to the plan file
Definitely not only because I see value in visualizing the plan when reviewing a pull request, but I visualizing the state file could be a nice alternative
issues related to TF Cloud Integration
https://github.com/im2nguyen/rover/issues/34 was one I saw after a quick search
+1 This request. I would like to generate a rudimentary arch. diagram from a state file, or have it in CI/CD.
Oh! If this is with Terraform Cloud, there should work now:
https://github.com/im2nguyen/rover/issues/34#issuecomment-960505015
From the linked pr, @im2nguyen, pulling the last plan would definitely help.
We would still be interested in running against the actual workspace though if we wanted to visualize the infrastructure for a more holistic review. So use cases we imagine:
- adding as an informational step in our TFE pipeline against the plan
- randomly review the current state from a UI