Loading...
Loading...
### Terraform Version ```shell 0.14.11 ``` ### Terraform Configuration Files ```terraform terraform { required_version = ">= 0.14" required_providers { aws = { source = "hashicorp/aws" } archive = { source = "hashicorp/archive" } external = { source = "hashicorp/external" } } } ``` ### Debug Output ``` panic: value is marked, so must be unmarked first goroutine 21444 [running]: github.com/zclconf/go-cty/cty.Value.assertUnmarked(...) /go/pkg/mod/github.com/zclconf/go-cty@v1.8.0/cty/marks.go:123 github.com/zclconf/go-cty/cty.Value.LengthInt(0x2cebc40, 0xc012e04980, 0x25b4900, 0xc00654ea00, 0xc005085400) /go/pkg/mod/github.com/zclconf/go-cty@v1.8.0/cty/value_ops.go:1045 +0x4f github.com/hashicorp/terraform/plans/objchange.proposedNewObject(0xc0017a8c60, 0x2cebc00, 0xc00e63fe00, 0x248e380, 0x3e01300, 0x2cebc00, 0xc012e04990, 0x24bc420, 0xc014f83d70, 0x82, ...) /home/circleci/project/project/plans/objchange/objchange.go:241 +0x18a5 github.com/hashicorp/terraform/plans/objchange.PlannedDataResourceObject(0xc0017a8c60, 0x2cebc00, 0xc012e04990, 0x24bc420, 0xc014f83d70, 0x1, 0x0, 0x0, 0x0) /home/circleci/project/project/plans/objchange/objchange.go:64 +0x89 github.com/hashicorp/terraform/terraform.(*evalReadDataPlan).Eval(0xc0087b7a90, 0x2d278e0, 0xc00fdaa1a0, 0x0, 0x0, 0x0, 0x0) /home/circleci/project/project/terraform/eval_read_data_plan.go:70 +0x952 github.com/hashicorp/terraform/terraform.(*NodePlannableResourceInstance).dataResourceExecute(0xc0123921f0, 0x2d278e0, 0xc00fdaa1a0, 0x0, 0x380000) /home/circleci/project/project/terraform/node_resource_plan_instance.go:87 +0x4b4 github.com/hashicorp/terraform/terraform.(*NodePlannableResourceInstance).Execute(0xc0123921f0, 0x2d278e0, 0xc00fdaa1a0, 0xc00e808002, 0x250b240, 0x2825d00) /home/circleci/project/project/terraform/node_resource_plan_instance.go:41 +0x11f github.com/hashicorp/terraform/terraform.(*ContextGraphWalker).Execute(0xc017700680, 0x2d278e0, 0xc00fdaa1a0, 0x7fb952edc450, 0xc0123921f0, 0x0, 0x0, 0x0) /home/circleci/project/project/terraform/graph_walk_context.go:127 +0xbc github.com/hashicorp/terraform/terraform.(*Graph).walk.func1(0x2825d00, 0xc0123921f0, 0x0, 0x0, 0x0) /home/circleci/project/project/terraform/graph.go:59 +0x962 github.com/hashicorp/terraform/dag.(*Walker).walkVertex(0xc004bd60c0, 0x2825d00, 0xc0123921f0, 0xc00e65fac0) /home/circleci/project/project/dag/walk.go:387 +0x375 created by github.com/hashicorp/terraform/dag.(*Walker).Update /home/circleci/project/project/dag/walk.go:309 +0x1246 !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Terraform crashed! This is always indicative of a bug within Terraform. A crash log has been placed at "crash.log" relative to your current working directory. It would be immensely helpful if you could please report the crash with Terraform[1] so that we can fix this. When reporting bugs, please include your terraform version. That information is available on the first line of crash.log. You can also get it by running 'terraform --version' on the command line. SECURITY WARNING: the "crash.log" file that was created may contain sensitive information that must be redacted before it is safe to share on the issue tracker. [1]: https://github.com/hashicorp/terraform/issues !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Failed running command "cd '/terraform' && envdir /env terraform show -json /terraform/terraform.tfplan" (exit 1) Output: Terraform couldn't read the given file as a state or plan file. The errors while attempting to read the file as each format are shown below. State read error: Error loading statefile: open /terraform/terraform.tfplan: no such file or directory Plan read error: open /terraform/terraform.tfplan: no such file or directory ``` ### Expected Behavior Apply should be completed successfully with v0.14.11 ### Actual Behavior Terraform crash ### Steps to Reproduce terraform apply -no-color -auto-approve > named_pipe 2>&1 ### Additional Context The upgrade worked successfully for multiple environments with any issue. Started seeing the crash failures out of nowhere. No code changes involved. ### References _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.