Panic: runtime error: invalid memory address or nil pointer dereference in ecctl 1.1.0

I am trying to output an upload template for my Elastic Cloud deployment using ecctl. However, when I run ecctl deployment show <deployment id> --generate-update-payload > update.json using my actual deployment id I get a panic. The update.json file gets generated, but it is empty.

I can list my deployments and I can view my current deployment in my terminal when I run ecctl deployment show <deployment id> so I'm fairly certain ecctl is working normally. I just cannot run the --generate-update-payload flag.

Any ideas?

I'm on a Mac (BigSur 11.2)

It appears that this panic has been fixed in the latest version of ecctl 1.2.0.