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

bugfix: correctly populate stderr #372

Merged
merged 1 commit into from
Mar 1, 2023
Merged

bugfix: correctly populate stderr #372

merged 1 commit into from
Mar 1, 2023

Conversation

kmoe
Copy link
Member

@kmoe kmoe commented Mar 1, 2023

#352 introduced a bug in which stderr from Terraform commands was not included in the error returned from tf.Apply(), etc.

This PR fixes this. Note the inclusion of errBuf where tf.wrapExitError() was used before.

Also add a test step that fails before this change.

@kmoe kmoe requested review from bflad, radeksimko and bendbennett March 1, 2023 10:34
Copy link

@sergiught sergiught left a comment

Choose a reason for hiding this comment

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

Really appreciate the super quick turnaround @kmoe <3

Copy link
Contributor

@bendbennett bendbennett left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kmoe
Copy link
Member Author

kmoe commented Mar 1, 2023

The registry is serving us a selection of network errors. Rerunning tests.

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.

3 participants