Cloudflare Tunnel Virtual Network

An isolated routing segment for Cloudflare Tunnel that lets overlapping private CIDRs be reached through separate tunnels.

What Gets Created

  • A cloudflare_zero_trust_tunnel_cloudflared_virtual_network.

Prerequisites

  • A Cloudflare account ID.

Configuration Reference

Required

  • accountId — Cloudflare account ID.
  • name — user-friendly name for the virtual network.

Optional

  • comment — remark describing the segment.
  • isDefaultNetwork — make this the account default (exactly one at a time).

Stack Outputs

OutputDescription
virtual_network_idThe virtual network UUID
virtual_network_nameThe virtual network name
  • CloudflareZeroTrustTunnel
  • CloudflareZeroTrustTunnelRoute

Next article

Cloudflare Turnstile Widget

Cloudflare Turnstile Widget Provision a Cloudflare Turnstile widget — a privacy-preserving CAPTCHA alternative — and expose its site key and (sensitive) secret key. What Gets Created A cloudflareturnstilewidget with a public site key and a secret key. Prerequisites A Cloudflare account ID. Configuration Reference Required accountId — Cloudflare account ID. name — human-readable widget name. domains — domains the widget may run on (≥1). mode — non-interactive, invisible, or managed. Optional...
Read next article