Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of command: fix panic on show when state file is invalid or …
…unavailable into v1.2 (#31447) * backport of commit b45b253 * backport of commit a3482b6 Co-authored-by: Katy Moe <katy@katy.moe>
- Loading branch information
1 parent
2c609a6
commit 669fe82
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
internal/command/testdata/show-corrupt-statefile/terraform.tfstate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
invalid |