add all Cloudflare zones to Terraform, migrate tunnel config to non-deprecated resource

This commit is contained in:
Will Anderson
2026-04-16 18:36:16 -05:00
parent d7205ca1d1
commit 61ea7eaaef
3 changed files with 69 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ provider "cloudflare" {
# Cloudflare tunnel ingress rules — all hostnames that route through the legion tunnel
# Catch-all (http_status:404) is implicit and always last; managed by Cloudflare API
resource "cloudflare_tunnel_config" "legion" {
resource "cloudflare_zero_trust_tunnel_cloudflared_config" "legion" {
account_id = var.cloudflare_account_id
tunnel_id = var.cloudflare_tunnel_id