Use this datasource to lookup a tunnel in an account.
data "cloudflare_tunnel" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
name = "my-tunnel"
}
account_id
(String) The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.name
(String) Name of the tunnel. Modifying this attribute will force creation of a new resource.is_deleted
(Boolean) If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.id
(String) ID of the tunnel.remote_config
(Boolean) Whether the tunnel can be configured remotely from the Zero Trust dashboard.status
(String) The status of the tunnel. Available values: inactive
, degraded
, healthy
, down
.tunnel_type
(String) The type of the tunnel. Available values: cfd_tunnel
, warp_connector
.