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

feat(terraform): improve user feedback running terraform commands #706

Merged
merged 2 commits into from
Feb 16, 2022

Conversation

ipcrm
Copy link
Contributor

@ipcrm ipcrm commented Feb 15, 2022

Summary

Prior to this PR, running Terraform commands from the CLI gives limited feedback. This change gives the end customer a live view of what Terraform is doing while still preserving the existing error handling behavior.

How did you test this change?

Executing the CLI && make test

Issue

N/A

This code might need to be refactored but for now, this seems to work
fine/better, if we don't create a new terminal, the output will be
removed, maybe because during initialization the library records the
current STDOUT? (not sure)

Signed-off-by: Salim Afiune Maya <[email protected]>
Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenor-128939969

@afiune afiune merged commit 8526d2c into main Feb 16, 2022
@afiune afiune deleted the ipcrm/terraform-output branch February 16, 2022 07:35
@lacework-releng lacework-releng mentioned this pull request Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants