You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: must contain only letters, digits, and dashes, and may not use leading or trailing dashes
goroutine 25 [running]:
github.com/hashicorp/terraform-registry-address.MustParseProviderPart({0x1b708a0?, 0xc00044a150?})
/Users/dbanck/go/pkg/mod/github.com/hashicorp/[email protected]/provider.go:440 +0x4c
github.com/hashicorp/terraform-schema/internal/addr.NewLegacyProvider(...)
/Users/dbanck/Projects/terraform-schema/internal/addr/addr.go:10
github.com/hashicorp/terraform-schema/earlydecoder.LoadModule({0xc0000cc247, 0x24}, 0xc00063a0ac?)
/Users/dbanck/Projects/terraform-schema/earlydecoder/decoder.go:134 +0xe16
github.com/hashicorp/terraform-ls/internal/terraform/module.LoadModuleMetadata(0xc0000ccff0?, {0xc0000ccff7, 0x24})
/Users/dbanck/Projects/terraform-ls/internal/terraform/module/module_ops.go:248 +0x208
github.com/hashicorp/terraform-ls/internal/indexer.(*Indexer).decodeModule.func1({0xc00048c760?, 0xc0000ccff0?})
/Users/dbanck/Projects/terraform-ls/internal/indexer/document_change.go:67 +0x47
github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).eval(0xc00044ac60, {0x182b420, 0xc000425fc0})
/Users/dbanck/Projects/terraform-ls/internal/scheduler/scheduler.go:68 +0x109
created by github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).Start
/Users/dbanck/Projects/terraform-ls/internal/scheduler/scheduler.go:48 +0x65
Expected Behavior
No crash, instead diagnostics with the error
Actual Behavior
terraform-ls crashes
Steps to Reproduce
Accidentally type ` into a provider or resource label.
The text was updated successfully, but these errors were encountered:
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.
Server Version
Terraform Configuration Files
Log Output
Expected Behavior
No crash, instead diagnostics with the error
Actual Behavior
terraform-ls crashes
Steps to Reproduce
Accidentally type ` into a provider or resource label.
The text was updated successfully, but these errors were encountered: