{
  "slug": "wrangler-vpc-service-create-accepts-type-tcp-6645f75af912",
  "title": "wrangler vpc service create accepts --type tcp",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-27T14:44:47.000Z",
  "announced_at": "2026-03-27T14:44:47.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When exposing a TCP database through Workers VPC, create a TCP service with its port, private IPv4 address, and tunnel ID.",
    "examples": [
      "npx wrangler vpc service create my-db --type tcp --tcp-port 5432 --ipv4 10.0.0.1 --tunnel-id <tunnel-uuid>"
    ],
    "gotchas": [
      "Version: 4.78.0",
      "<NAME> (required): Name of the VPC service.",
      "--type (required): VPC service type; use `tcp`.",
      "--tcp-port: TCP port number; provide the database service port.",
      "--ipv4: IPv4 address for the host; conflicts with `--ipv6`.",
      "--ipv6: IPv6 address for the host; conflicts with `--ipv4`.",
      "--tunnel-id (required): UUID of the Cloudflare tunnel.",
      "Prerequisite: Have a running tunnel that can reach the database host and port.",
      "Prerequisite: Wrangler authentication must have the `Connectivity Directory Admin` role to create VPC services.",
      "The service port, IPv4 address, and tunnel ID are needed in the example workflow."
    ]
  },
  "why_it_matters": "Expose a TCP database service, such as PostgreSQL or MySQL, through Workers VPC.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.78.0",
    "https://developers.cloudflare.com/workers-vpc/get-started/",
    "https://developers.cloudflare.com/workers/wrangler/commands/vpc/",
    "https://developers.cloudflare.com/workers-vpc/configuration/vpc-services/"
  ],
  "rank": 0.9303,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-5bc9cc28bd9d36ab-6:gate",
    "evidence_hash": "d3dfbc5a37d2f8ac3d0afde1b3ead7eedb2dc6f0ec468f0023e651da3c9577e9"
  },
  "review": {
    "draft_hash": "069250ca88d5037e1a9f151c4036f82fcc0ff56eb981f1d9e1873ad9466264e2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
