Created
December 16, 2021 10:29
-
-
Save geirsagberg/d63a2f7bf6faceb571482d54ddb6a0e7 to your computer and use it in GitHub Desktop.
Terraform crash
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
runtime error: invalid memory address or nil pointer dereferencegoroutine 7647 [running]: | |
runtime/debug.Stack() | |
/usr/local/go/src/runtime/debug/stack.go:24 +0x65 | |
runtime/debug.PrintStack() | |
/usr/local/go/src/runtime/debug/stack.go:16 +0x19 | |
github.com/hashicorp/terraform/internal/logging.PanicHandler() | |
/Users/distiller/project/project/internal/logging/panic.go:44 +0xb5 | |
panic({0x2e20fa0, 0x4ae4070}) | |
/usr/local/go/src/runtime/panic.go:1038 +0x215 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).onlyResourceInstances(0x10db0c7, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, {0xc0028e8e00, 0x300, 0x4}) | |
/Users/distiller/project/project/internal/instances/expander.go:392 +0x95 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0x2e2c49f8, {0xc002c34f60, 0x38, 0x54005b8}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:387 +0x2e5 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0xc003ecf410, {0xc002c34f60, 0x1, 0x1}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:385 +0x293 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0xc0025aea80, {0xc002c34f40, 0x2, 0x2}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:385 +0x293 | |
github.com/hashicorp/terraform/internal/instances.(*Expander).ExpandResource(0xc002cb2040, {{}, {0xc002c34f40, 0x2, 0x2}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, ...}}}) | |
/Users/distiller/project/project/internal/instances/expander.go:157 +0x16f | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).deleteActionReason(0xc001086b10, {0x36f1e20, 0xc0040707e0}) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:204 +0x23b | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).managedResourceExecute(0xc001086b10, {0x36f1e20, 0xc0040707e0}) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:140 +0x58c | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).Execute(0x0, {0x36f1e20, 0xc0040707e0}, 0xc0) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:49 +0x90 | |
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc002c001c0, {0x36f1e20, 0xc0040707e0}, {0x6a4e1f8, 0xc001086b10}) | |
/Users/distiller/project/project/internal/terraform/graph_walk_context.go:133 +0xc2 | |
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x3158c00, 0xc001086b10}) | |
/Users/distiller/project/project/internal/terraform/graph.go:74 +0x2f0 | |
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc000f4c900, {0x3158c00, 0xc001086b10}, 0xc003ea6100) | |
/Users/distiller/project/project/internal/dag/walk.go:381 +0x2f1 | |
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update | |
/Users/distiller/project/project/internal/dag/walk.go:304 +0xf85 | |
goroutine 7842 [running]: | |
runtime/debug.Stack() | |
/usr/local/go/src/runtime/debug/stack.go:24 +0x65 | |
runtime/debug.PrintStack() | |
/usr/local/go/src/runtime/debug/stack.go:16 +0x19 | |
github.com/hashicorp/terraform/internal/logging.PanicHandler() | |
/Users/distiller/project/project/internal/logging/panic.go:44 +0xb5 | |
panic({0x2e20fa0, 0x4ae4070}) | |
/usr/local/go/src/runtime/panic.go:1038 +0x215 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).onlyResourceInstances(0x10db0c7, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, {0xc003d5dc80, 0x1c0, 0x4}) | |
/Users/distiller/project/project/internal/instances/expander.go:392 +0x95 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0x6be25c0, {0xc002c34f60, 0x38, 0x54013c8}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:387 +0x2e5 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0xc003ecf410, {0xc002c34f60, 0x1, 0x1}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:385 +0x293 | |
github.com/hashicorp/terraform/internal/instances.(*expanderModule).resourceInstances(0xc0025aea80, {0xc002c34f40, 0x2, 0x2}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, 0xb}}, ...) | |
/Users/distiller/project/project/internal/instances/expander.go:385 +0x293 | |
github.com/hashicorp/terraform/internal/instances.(*Expander).ExpandResource(0xc002cb2040, {{}, {0xc002c34f40, 0x2, 0x2}, {{}, 0x4d, {0xc000764438, 0x16}, {0xc000e69ba0, ...}}}) | |
/Users/distiller/project/project/internal/instances/expander.go:157 +0x16f | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).deleteActionReason(0xc0010869a0, {0x36f1e20, 0xc0040707e0}) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:204 +0x23b | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).managedResourceExecute(0xc0010869a0, {0x36f1e20, 0xc0040707e0}) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:140 +0x58c | |
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstanceOrphan).Execute(0x0, {0x36f1e20, 0xc0040707e0}, 0x0) | |
/Users/distiller/project/project/internal/terraform/node_resource_plan_orphan.go:49 +0x90 | |
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc002c001c0, {0x36f1e20, 0xc0040707e0}, {0x6a4e1f8, 0xc0010869a0}) | |
/Users/distiller/project/project/internal/terraform/graph_walk_context.go:133 +0xc2 | |
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x3158c00, 0xc0010869a0}) | |
/Users/distiller/project/project/internal/terraform/graph.go:74 +0x2f0 | |
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc000f4c900, {0x3158c00, 0xc0010869a0}, 0xc003ea6200) | |
/Users/distiller/project/project/internal/dag/walk.go:381 +0x2f1 | |
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update | |
/Users/distiller/project/project/internal/dag/walk.go:304 +0xf85 | |
ERRO[0031] 1 error occurred: | |
* exit status 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment