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

Restore human-friendly plan output. #584

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Conversation

paddycarver
Copy link
Contributor

When an unexpected diff occurs, return the human-readable plan output,
instead of JSON.

A previous version of terraform-plugin-test/terraform-exec didn't
support reading the non-JSON plan file. Update to latest to have the
function do what it was meant to.

When an unexpected diff occurs, return the human-readable plan output,
instead of JSON.

A previous version of terraform-plugin-test/terraform-exec didn't
support reading the non-JSON plan file. Update to latest to have the
function do what it was meant to.
@paddycarver paddycarver requested a review from a team September 15, 2020 22:33
@paddycarver paddycarver merged commit 648724a into master Sep 15, 2020
@paddycarver paddycarver deleted the paddy_human_friendly_diff branch September 15, 2020 22:35
paddycarver added a commit that referenced this pull request Sep 22, 2020
Backport #580 to restore pre-binary ExpectNonEmptyPlan behavior when
testing.

Backport #584 to use the latest terraform-exec and terraform-plugin-test
to take advantage of the fixed diff output.

Backport #581 to check the error on post-test destroy, warning there may
be dangling resources and surfacing the error.

This should bring the v1-maint branch in line with 2.0.3 in terms of
functionality and bug fixes.
paddycarver added a commit that referenced this pull request Sep 22, 2020
Backport #580 to restore pre-binary ExpectNonEmptyPlan behavior when
testing.

Backport #584 to use the latest terraform-exec and terraform-plugin-test
to take advantage of the fixed diff output.

Backport #581 to check the error on post-test destroy, warning there may
be dangling resources and surfacing the error.

This should bring the v1-maint branch in line with 2.0.3 in terms of
functionality and bug fixes.
paddycarver added a commit that referenced this pull request Sep 23, 2020
Backport #580 to restore pre-binary ExpectNonEmptyPlan behavior when
testing.

Backport #584 to use the latest terraform-exec and terraform-plugin-test
to take advantage of the fixed diff output.

Backport #581 to check the error on post-test destroy, warning there may
be dangling resources and surfacing the error.

This should bring the v1-maint branch in line with 2.0.3 in terms of
functionality and bug fixes.
@ghost
Copy link

ghost commented Oct 16, 2020

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.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants