From a74e2d32fe0023b13cdb921920fb56be85a3c019 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Thu, 5 Nov 2026 23:38:33 -0600 Subject: [PATCH] chore(infra): let the regional hostname be dropped without calling Cloudflare (#62284) --- infra/stage.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/infra/stage.ts b/infra/stage.ts index f4ccb18d80bc..0ad5276966eb 100644 --- a/infra/stage.ts +++ b/infra/stage.ts @@ -27,11 +27,17 @@ if ($app.stage === "production") { }) } -new cloudflare.RegionalHostname("RegionalHostname", { - hostname: domain, - regionKey: "us", - zoneId: zoneID, -}) +// Removed from Cloudflare by hand on 2026-11-06 (dev and production): the deploy token can't delete regional +// hostnames. Retained on delete so dropping this resource next only forgets it instead of calling Cloudflare. +new cloudflare.RegionalHostname( + "RegionalHostname", + { + hostname: domain, + regionKey: "us", + zoneId: zoneID, + }, + { retainOnDelete: true }, +) export const shortDomain = (() => { if ($app.stage === "production") return "opncd.ai"