When i deployed tunnel using terraform. The token is not valid to connect.
What steps have you taken to resolve the issue?
My current terraform config is:
resource “random_password” “tunnel_password” {
length = 64
}
resource “cloudflare_zero_trust_tunnel_cloudflared” “home” {
account_id = var.account_id
name = “home”
tunnel_secret = base64sha256(random_password.tunnel_password.result)
}
I tried with “random_string” before, but i got the same error. So I cannot solve this error.