-
Notifications
You must be signed in to change notification settings - Fork 242
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
Request: less verbose plan summary output #131
Comments
any update on this? |
I did this as |
I've lifted the grep command here hashicorp/terraform#27214 (comment) Into a separate step, then I use the github env variable in the comment step. I found piping plan directly to grep resulted in a bunch of debug output I didn't want. There's probably a nicer way to do this without the temp file!
|
Hi folks 👋 The intended purpose of this GitHub Action is to install Terraform and optionally configure parts of its CLI configuration file. We do not intend to support manipulating the output from Terraform commands via this action, so therefore I'm going to close this issue. Terraform issues such as hashicorp/terraform#27214 can be followed to track this sort of feature request. If you have further questions about manipulating the output from Terraform commands, you can submit a topic in the Terraform section of HashiCorp Discuss. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
The
terraform plan -no-color
step produces a lot of output: setup, refreshing state, etc:The majority of that is uninteresting in the normal course of work, and results in a lot of text that humans are going to skim over. What is interesting (for us!) is from
Terraform will perform the following actions:
to the end. I tried, briefly, to capture the output and pass it through additional Actions steps to grep and tail just the relevant (to us) bits, but failed pretty spectacularly.I could try modifying the plan step to use
-out=path
to create a file, parse that file, and emit that in a subsequent step. Before I go that route, might there exist some prior art for this that I can use? Or might it make sense to create such a summary output example for others to follow in the future?The text was updated successfully, but these errors were encountered: