-
Notifications
You must be signed in to change notification settings - Fork 631
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
Inconsistent/weird behavior of cloudflare_zero_trust_tunnel_cloudflared_config, Authentication Error (10000) #4002
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
Attached whatever I could find about the resources in question in the debug log section. I won't be able to provide the full debug log - the Cloudflare config is just a small part of a bigger module with multiple providers. |
Nevermind, i've located the source of the issue, it was me all along ;) |
thanks for this! spent an awkward amount of time accidentally having |
Confirmation
Terraform and Cloudflare provider version
Terraform v 1.9.4, Terraform v 1.9.5
Cloudflare Provider v 4.41.0
Affected resource(s)
Terraform configuration files
Link to debug output
https://gist.github.com/OctavioCore/821538eb1ccf4914c8ab63cdcfb33765
Panic output
│ Error: error creating / updating tunnel config "": Authentication error (10000)
│
│ with cloudflare_zero_trust_tunnel_cloudflared_config.base_config,
│ on cloudflare.tf line 69, in resource "cloudflare_zero_trust_tunnel_cloudflared_config" "base_config":
│ 69: resource "cloudflare_zero_trust_tunnel_cloudflared_config" "base_config" {
│
╵
Expected output
Config adjusted successfully for the provisioned tunnel.
Actual output
The tunnel is provisioned succesfully, but the tunnel configuration resource apply fails with "Authentication error (10000)" regardless if it's being provisioned from scratch, or updated.
Steps to reproduce
Additional factoids
I've thought that this might be due to errors in Terraform code on my part, so I've imported the config "clicked out" in the UI, then ran a
plan
to figure out discrepancies. Import went fine, the followingplan
has succeeded and shown some discrepancies I've reconciled into the code.After making those code changes, I ran
apply
action - but it failed at plan stage, with the Authentication Error (10000). I have destroyed the entire stack, ranapply
again, and it fails with the Authentication Error (10000) as before.I've checked the token used for authentication; It has all the necessary permissions to edit tunnels. I can also modify the config in the UI, so it's most probably not associated with permissions at all.
References
Perhaps it is linked to #3950 in some way/combines with this issue from the import part onwards?
The text was updated successfully, but these errors were encountered: