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

command/jsonstate: properly marshal deposed resources #23027

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

mildwonkey
Copy link
Contributor

This PR addresses 2 issues: show -json would crash if there was not a
Current states.ResourceInstance for a given resource, and deposed
resource instances were not shown at all.

Fixes #22642

@mildwonkey mildwonkey requested a review from a team October 8, 2019 15:50
This PR addresses 2 issues: `show -json` would crash if there was not a
`Current` `states.ResourceInstance` for a given resource, and `deposed`
resource instances were not shown at all.

Fixes #22642
@mildwonkey mildwonkey force-pushed the mildwonkey/b-state-json branch from f72b942 to ae72ee6 Compare October 8, 2019 16:43
command/jsonstate/state.go Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Nov 8, 2019

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 and limited conversation to collaborators Nov 8, 2019
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.

crash when "terraform show -json" is executed
2 participants