cf-terraforming
cf-terraforming copied to clipboard
Cloudflare Tunnel resource type for code generation yields nil pointer exception
trafficstars
Confirmation
- [X] My issue isn't already found on the issue tracker.
- [X] I have replicated my issue using the latest version of the library and it is still present.
cf-terraforming version
cf-terraforming 0.16.1
Expected outcome
I've been generating resources, so it seems specifically problematic with Tunnel. I'm expecting that it outputs tunnel config into the file I've redirected the CLI output to, but I'm getting a nil pointer exception.
Actual outcome
❯ cf-terraforming generate \
--account "<REDACTED>" \
--resource-type "cloudflare_tunnel" \
--email "<REDACTED>" \
-t "<REDACTED>" >> cloudflare_tunnel.tf
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x8 pc=0x10461e6f8]
Steps to reproduce
Run the above command
References
No response