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: fix panic on show when state file is invalid or unavailable #31444

Merged
merged 2 commits into from Jul 15, 2022

Commits on Jul 15, 2022

  1. add failing test for showing corrupt state

    Currently, running 'terraform show' with an invalid state file leads to a
    panic.
    kmoe committed Jul 15, 2022
    Copy the full SHA
    b45b253 View commit details
    Browse the repository at this point in the history
  2. fix panic on state access

    kmoe committed Jul 15, 2022
    Copy the full SHA
    a3482b6 View commit details
    Browse the repository at this point in the history