-
Notifications
You must be signed in to change notification settings - Fork 16
Feature: Show non-plan output #32
Comments
@pecigonzalo thanks for the feature suggestion! The main goal of scenery is to show the output of a What's the main reasoning for wanting to display the rest of the text, is it purely to know that the terraform command is working as expected? I know that as terraform states get bigger and bigger, the command can take a lot longer just refreshing the state leaving you wondering if something has gone wrong. Currently scenery needs the entire output before being able to process it meaning we can't really show things as they happen in terraform. It is possible but it would require to change how it does the normalizing and parsing of the output into streams. It's possible but not trivial. If the main reason for displaying the extra text is to know that terraform is running, would you be opposed as to having some sort of text or indicator showing that terraform is currently running and scenery is waiting for it to complete? I think there might be better way to answer the question that don't involve showing all the input text (after all we want to suppress it). |
Thanks for the extensive explanation, I actually wanted to expand on this. My use case is not only really about the status of the command starting (which would be helpful to add at least a "terraform is planning", altho it could be hard to correctly detect) but also other wrappers. Hopefully this explains better the usecase, but in any case, I dont think changing the output you are not "improving" is a good idea. |
Got it, that makes sense! We can probably add a flag (name tbd, maybe |
Ill give it a go as well when I have some free time. |
Scenery is not actively maintained and the repo will be archived momentarily. I no longer have the time to maintain this tool nor do I think it should be kept being used as Terraform 0.11 has been deprecated for over a year now (scenery can only parse Terraform 0.11 plan outputs). Terraform 0.14 has some plan output changes as well as introduced the concept of concise diff plan outputs which does most of what scenery currently does. If you'd like to add new functionality as you cannot upgrade your terraform version feel free you fork the repo. |
Can we add support so it does output the stuff that is not part of the plan text as is?
eg:
This way we see immediate output of the plan running.
The text was updated successfully, but these errors were encountered: