📝Updated guide for Terraform Cloudflare tunnel #1416
Labels
Priority: Normal
Minor issue impacting one or more users
Type: Documentation
Improvements or additions to documentation
Available Documentation
A link to the documentation that is available today and the areas which could be improved:
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/deploy-tunnels/deployment-guides/terraform/#configure-cloudflare-resources
Suggested Documentation
The documentation is not updated to terraform provider version 5.0.0.+
Additional context
I've been trying it on my own
and then I build the credentials.json in a helm chart values.yaml, so that later I can mount it to the cloudflare
{"AccountTag":"${account_tag}","TunnelSecret":"${tunnel_secret}","TunnelID": "${tunnel_id}"}
by doing:
but then when my container running in kubernetes run I get:
On the other hand:
If i generate the json file using CLI it works:
cloudflared tunnel login
cloudflared tunnel create test-auto-tunnel
and then I get the json from the ~/.cloudflared/ directory.
and then I pass it to my kubernetes pod, it works perfectly.
So, I think there is a missing step that I couldn't figure out from the terraform cloudflare tunnel creation.
The text was updated successfully, but these errors were encountered: