Closed maciejchmielakatos closed 9 months ago
@maciejchmielakatos Thank you for taking the time to report this issue. Can you provide us with the TF config that was used that resulted in this crash?
Thanks for taking the time to submit this issue. Unfortunately, the configuration is missing. Please update this issue with configuration so that we are able to work on reproducing this. I am going to mark this issue closed in the mean time, if you are able to provide the configuration, I can reopen it.
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.
Is there an existing issue for this?
Community Note
Terraform Version
v1.6.0
AzureRM Provider Version
v3.75.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_machine
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I wanted to change the vm SKU, wanted to check tf plan
Actual Behaviour
github.com/hashicorp/terraform/internal/logging.PanicHandler() /home/runner/work/terraform/terraform/internal/logging/panic.go:58 +0x13b panic({0x2b92ec0?, 0x38c4c30?}) /opt/hostedtoolcache/go/1.21.1/x64/src/runtime/panic.go:920 +0x270 github.com/zclconf/go-cty/cty.Value.assertUnmarked(...) /home/runner/go/pkg/mod/github.com/zclconf/go-cty@v1.14.0/cty/marks.go:141 github.com/zclconf/go-cty/cty.Value.AsString({{{0x3902720?, 0xc000144bd1?}}, {0x2e1de40?, 0xc000af6648?}}) /home/runner/go/pkg/mod/github.com/zclconf/go-cty@v1.14.0/cty/value_ops.go:1385 +0x47 github.com/zclconf/go-cty/cty.Value.Range({{{0x3902720?, 0xc000144bd1?}}, {0x2e1de40?, 0xc000af6648?}}) /home/runner/go/pkg/mod/github.com/zclconf/go-cty@v1.14.0/cty/value_range.go:53 +0x285 github.com/hashicorp/hcl/v2/hclsyntax.(ConditionalExpr).Value(0xc00066d5e0, 0xc000af6618) /home/runner/go/pkg/mod/github.com/hashicorp/hcl/v2@v2.18.0/hclsyntax/expression.go:746 +0xd6a github.com/hashicorp/terraform/internal/lang.(Scope).EvalExpr(0xc000d92090, {0x3902df8?, 0xc00066d5e0}, {{0x3902f48?, 0x5130520?}}) /home/runner/work/terraform/terraform/internal/lang/eval.go:175 +0x1bd github.com/hashicorp/terraform/internal/terraform.(BuiltinEvalContext).EvaluateExpr(0xc003149788?, {0x3902df8, 0xc00066d5e0}, {{0x3902f48?, 0x5130520?}}, {0x0?, 0x0?}) /home/runner/work/terraform/terraform/internal/terraform/eval_context_builtin.go:289 +0xab github.com/hashicorp/terraform/internal/terraform.(NodeLocal).Execute(0x7f7962ee5a60?, {0x391fb60, 0xc0012ce700}, 0xc0?) /home/runner/work/terraform/terraform/internal/terraform/node_local.go:158 +0x592 github.com/hashicorp/terraform/internal/terraform.(ContextGraphWalker).Execute(0xc0015df560, {0x391fb60, 0xc0012ce700}, {0x7f7962d1c9a0, 0xc003f7e570}) /home/runner/work/terraform/terraform/internal/terraform/graph_walk_context.go:143 +0xbe github.com/hashicorp/terraform/internal/terraform.(Graph).walk.func1({0x2f593a0, 0xc003f7e570}) /home/runner/work/terraform/terraform/internal/terraform/graph.go:78 +0x375 github.com/hashicorp/terraform/internal/dag.(Walker).walkVertex(0xc000ded680, {0x2f593a0, 0xc003f7e570}, 0xc003f90180) /home/runner/work/terraform/terraform/internal/dag/walk.go:384 +0x2e5 created by github.com/hashicorp/terraform/internal/dag.(Walker).Update in goroutine 1554 /home/runner/work/terraform/terraform/internal/dag/walk.go:307 +0xde8
[error]Terraform command 'validate' failed with exit code '11'.
[error]
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Steps to Reproduce
-
Important Factoids
-
References
-