SIGSEGV
SIGSEGV when running this command. Apparently quite early i.e. during command line parsing.
[rulatir@tytan ecs]$ terraformer import aws list --resources=aws_ecs_cluster --regions=eu-central-1 --profile=default
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xdc06ff]
goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).Set(0xc000304500, 0x4a9e30e, 0x9, 0x7ffede3d7032, 0xf, 0x7ffede3d7028, 0xc0005b1c70)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:463 +0xbf
github.com/spf13/pflag.(*FlagSet).Parse.func1(0xc0002fd540, 0x7ffede3d7032, 0xf, 0x9, 0xc0005b1cf8)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:1138 +0x54
github.com/spf13/pflag.(*FlagSet).parseLongArg(0xc000304500, 0x7ffede3d7026, 0x1b, 0xc0005ad420, 0x2, 0x2, 0xc000447ca8, 0x888efc0, 0x7f99dff40008, 0x0, ...)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:1000 +0x27c
github.com/spf13/pflag.(*FlagSet).parseArgs(0xc000304500, 0xc0005ad420, 0x2, 0x2, 0xc000447ca8, 0xdc3338, 0xc00016f300)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:1108 +0x49b
github.com/spf13/pflag.(*FlagSet).Parse(0xc000304500, 0xc0005ad410, 0x3, 0x3, 0x0, 0xc000050600)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:1141 +0x13d
github.com/spf13/cobra.(*Command).ParseFlags(0xc0003c8280, 0xc0005ad410, 0x3, 0x3, 0x7ffede3d7059, 0xc000304500)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:1553 +0xb8
github.com/spf13/cobra.(*Command).execute(0xc0003c8280, 0xc0005ad410, 0x3, 0x3, 0xc0003c8280, 0xc0005ad410)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:753 +0xa0
github.com/spf13/cobra.(*Command).ExecuteC(0xc00030d180, 0x0, 0xc000543f90, 0xc0000d8000)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/Users/sergeylanz/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/GoogleCloudPlatform/terraformer/cmd.Execute(0x5124f60, 0xc0002b8800)
/Users/sergeylanz/go/src/github.com/GoogleCloudPlatform/terraformer/cmd/root.go:36 +0x27
main.main()
/Users/sergeylanz/go/src/github.com/GoogleCloudPlatform/terraformer/main.go:40 +0x60
Using this Archlinux AUR package.
EDIT: I realize now that I misunderstood what the "list" subcommand does, but a SIGSEGV is still a bug.