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

0.14: panic: value is marked, so must be unmarked #27107

Closed
lwsanty opened this issue Dec 3, 2020 · 2 comments · Fixed by #27178
Closed

0.14: panic: value is marked, so must be unmarked #27107

lwsanty opened this issue Dec 3, 2020 · 2 comments · Fixed by #27178
Assignees
Labels
bug confirmed a Terraform Core team member has reproduced this issue v0.14 Issues (primarily bugs) reported against v0.14 releases

Comments

@lwsanty
Copy link

lwsanty commented Dec 3, 2020

Terraform Version

Terraform v0.14.0

Terraform Configuration Files

terraform {}

variable "test" {
  type      = object({ enabled = bool })
  default   = { enabled = false }
  sensitive = true
}

resource "local_file" "file" {
  count    = var.test.enabled ? 1 : 0
  filename = "johnny"
}

Debug Output

https://gist.github.com/lwsanty/73104e3fbe9bb5042802687c1a1c6f54

Crash Output

https://gist.github.com/lwsanty/73104e3fbe9bb5042802687c1a1c6f54

Expected Behavior

Command succeeded

Actual Behavior

panic: value is marked, so must be unmarked first

Steps to Reproduce

  1. terraform init
  2. terraform plan

Additional Context

References

@lwsanty lwsanty added bug new new issue not yet triaged labels Dec 3, 2020
@lwsanty lwsanty changed the title 0.14: panic: value is marked, so must be unmarked first if we 0.14: panic: value is marked, so must be unmarked Dec 3, 2020
@pselle pselle self-assigned this Dec 3, 2020
@pselle pselle added confirmed a Terraform Core team member has reproduced this issue and removed new new issue not yet triaged labels Dec 3, 2020
@pselle
Copy link
Contributor

pselle commented Dec 3, 2020

Thank you for reporting this! I've confirmed the issue and am working on a fix.

@ghost
Copy link

ghost commented Jan 8, 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.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug confirmed a Terraform Core team member has reproduced this issue v0.14 Issues (primarily bugs) reported against v0.14 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants