-
Notifications
You must be signed in to change notification settings - Fork 10.3k
It happened crash after upgrade the version to 1.8.0 #34976
Copy link
Copy link
Closed
Labels
bugconfirmeda Terraform Core team member has reproduced this issuea Terraform Core team member has reproduced this issueexplaineda Terraform Core team member has described the root cause of this issue in codea Terraform Core team member has described the root cause of this issue in code
Description
Terraform Version
1.8.0Terraform Configuration Files
...terraform config...Debug Output
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
panic: no expansion has been registered for module.cert_lb
goroutine 19550 [running]:
runtime/debug.Stack()
/Users/runner/hostedtoolcache/go/1.22.1/x64/src/runtime/debug/stack.go:24 +0x5e
github.com/hashicorp/terraform/internal/logging.PanicHandler()
/Users/runner/work/terraform/terraform/internal/logging/panic.go:84 +0x18b
panic({0x7213d00?, 0xc00592bef0?})
/Users/runner/hostedtoolcache/go/1.22.1/x64/src/runtime/panic.go:770 +0x132
github.com/hashicorp/terraform/internal/instances.(*Expander).ExpandAbsModuleCall(0x734ed40?, {{0x0, 0x0, 0x0}, {{}, {0xc00013c8d0, 0x7}}})
/Users/runner/work/terraform/terraform/internal/instances/expander.go:171 +0x265
github.com/hashicorp/terraform/internal/terraform.(*evaluationStateData).GetModule(0xc00159d560, {{}, {0xc00013c8d0?, 0x4a5f547?}}, {{0xc00072a970, 0xf}, {0x3b, 0x1e, 0x892}, {0x3b, ...}})
/Users/runner/work/terraform/terraform/internal/terraform/evaluate.go:398 +0x788
github.com/hashicorp/terraform/internal/lang.(*Scope).evalContext(0xc00159d5f0, {0xc00aa8d320, 0x5, 0x5}, {0x0, 0x0})
/Users/runner/work/terraform/terraform/internal/lang/eval.go:381 +0x1112
github.com/hashicorp/terraform/internal/lang.(*Scope).EvalContext(...)
/Users/runner/work/terraform/terraform/internal/lang/eval.go:245
github.com/hashicorp/terraform/internal/lang.(*Scope).EvalBlock(0xc00159d5f0, {0x78fb640, 0xc002ac4730}, 0xc004d29980)
/Users/runner/work/terraform/terraform/internal/lang/eval.go:58 +0xc5
github.com/hashicorp/terraform/internal/terraform.(*BuiltinEvalContext).EvaluateBlock(0x1?, {0x78fb8d0, 0xc00123edc0}, 0xc004d29980, {0x0?, 0x0?}, {{{{0x0, 0x0}}, {0x0, 0x0}}, ...})
/Users/runner/work/terraform/terraform/internal/terraform/eval_context_builtin.go:315 +0x145
github.com/hashicorp/terraform/internal/terraform.(*NodeAbstractResourceInstance).plan(0xc005e24248, {0x791b128, 0xc000e2ec30}, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0?})
/Users/runner/work/terraform/terraform/internal/terraform/node_resource_abstract_instance.go:808 +0xb8b
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstance).managedResourceExecute(0xc005dd7340, {0x791b128, 0xc000e2ec30})
/Users/runner/work/terraform/terraform/internal/terraform/node_resource_plan_instance.go:250 +0x1395
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstance).Execute(0x18?, {0x791b128?, 0xc000e2ec30?}, 0x0?)
/Users/runner/work/terraform/terraform/internal/terraform/node_resource_plan_instance.go:75 +0x8a
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc003821cc0, {0x791b128, 0xc000e2ec30}, {0x554ec930, 0xc005dd7340})
/Users/runner/work/terraform/terraform/internal/terraform/graph_walk_context.go:153 +0xbb
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x7880a60, 0xc005dd7340})
/Users/runner/work/terraform/terraform/internal/terraform/graph.go:112 +0x62a
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc005d896e0, {0x7880a60, 0xc005dd7340}, 0xc00579f1c0)
/Users/runner/work/terraform/terraform/internal/dag/walk.go:384 +0x2d7
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update in goroutine 15667
/Users/runner/work/terraform/terraform/internal/dag/walk.go:307 +0xff3
Expected Behavior
Nothing should have happened.
Actual Behavior
It happened crash
Steps to Reproduce
terraform plan
Additional Context
No response
References
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugconfirmeda Terraform Core team member has reproduced this issuea Terraform Core team member has reproduced this issueexplaineda Terraform Core team member has described the root cause of this issue in codea Terraform Core team member has described the root cause of this issue in code