Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare Tunnel resource type for code generation yields nil pointer exception #645

Open
2 tasks done
Schachte opened this issue Dec 13, 2023 · 0 comments
Open
2 tasks done

Comments

@Schachte
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant