Closed
Description
Confirmation
- My issue isn't already found on the issue tracker.
- I have replicated my issue using the latest version of the library and it is still present.
cf-terraforming version
v0.23.3
Expected outcome
just like #792
Actual outcome
cf-terraforming import --resource-type "cloudflare_record" --email "[email protected]" --key "mykey" --zone "myzone"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x102ab7d84]
goroutine 1 [running]:
github.com/hashicorp/go-version.(*Version).String(0x0)
/home/runner/go/pkg/mod/github.com/hashicorp/[email protected]/version.go:386 +0x34
github.com/cloudflare/cf-terraforming/internal/app/cf-terraforming/cmd.init.runImport.func3(0x1036fcd20, {0x102ce6d38?, 0x4?, 0x102ce6c6c?})
/home/runner/work/cf-terraforming/cf-terraforming/internal/app/cf-terraforming/cmd/import.go:129 +0x3bc
github.com/spf13/cobra.(*Command).execute(0x1036fcd20, {0x1400014da00, 0x8, 0x8})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:989 +0x81c
github.com/spf13/cobra.(*Command).ExecuteC(0x1036fd000)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/cloudflare/cf-terraforming/internal/app/cf-terraforming/cmd.Execute()
/home/runner/work/cf-terraforming/cf-terraforming/internal/app/cf-terraforming/cmd/root.go:30 +0x24
main.main()
/home/runner/work/cf-terraforming/cf-terraforming/cmd/cf-terraforming/main.go:8 +0x1c
Steps to reproduce
download and run
References
No response
Metadata
Metadata
Assignees
Labels
No labels