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

Crash running terraform show -json plan.tfplan #29113

Closed
mikesir87 opened this issue Jul 7, 2021 · 3 comments
Closed

Crash running terraform show -json plan.tfplan #29113

mikesir87 opened this issue Jul 7, 2021 · 3 comments
Labels
bug new new issue not yet triaged

Comments

@mikesir87
Copy link
Contributor

Terraform Version

Terraform v1.0.1
on darwin_amd64

Terraform Configuration Files

Not really sure what part is relevant or not and have a lot of Terraform being used. I've tried to make a smaller scoped project to reproduce the bug, but have had trouble doing so.

Debug Output

https://gist.github.com/mikesir87/42b665d10ea14605ad7f6116293bb5b1

Crash Output

Looks mostly the same as the debug output, but here you go...

https://gist.github.com/mikesir87/baead99ece361545479f829593af8e39

Expected Behavior

The command to work successfully

Actual Behavior

We get an error indicating panic: value is marked, so must be unmarked first, which is hard to diagnose.

Steps to Reproduce

Hard to know, as it seems to be only one of our pipelines.

Additional Context

  • We do NOT get the error when using 0.15.5 but do on either of the current 1.0.x releases.
  • Running terraform show plan plan.tfplan without the JSON flag exits successfully

References

Not sure yet. I took a look at #28903, but that doesn't appear to be exactly related. And it still occurs in the 1.0.1 release which includes the MR fixing it.

@mikesir87 mikesir87 added bug new new issue not yet triaged labels Jul 7, 2021
@jbardin
Copy link
Member

jbardin commented Jul 7, 2021

Duplicate of #29042

@jbardin jbardin marked this as a duplicate of #29042 Jul 7, 2021
@jbardin jbardin closed this as completed Jul 7, 2021
@mikesir87
Copy link
Contributor Author

Ah and thank you! I did some searching, but apparently didn't find that one. Thanks @jbardin!

@github-actions
Copy link

github-actions bot commented Aug 7, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug new new issue not yet triaged
Projects
None yet
Development

No branches or pull requests

2 participants