Skip to content

Commit 7524e5f

Browse files
authored
chore(infra): untrack zen buckets and trust dns now that they are retained (anomalyco#62940)
1 parent 7ce50dd commit 7524e5f

4 files changed

Lines changed: 0 additions & 51 deletions

File tree

‎infra/console.ts‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎infra/stage.ts‎

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,3 @@ export const domain = (() => {
77
export const zoneID = "430ba34c138cfb5360826c4909f99be8"
88
export const awsStage = $app.stage === "production" ? "production" : "dev"
99
export const deployStats = $app.stage === awsStage
10-
11-
if ($app.stage === "production") {
12-
// Retained on delete so a follow-up can untrack it without deleting the live record.
13-
new cloudflare.DnsRecord(
14-
"TrustCenter",
15-
{
16-
zoneId: zoneID,
17-
name: "trust.opencode.ai",
18-
type: "CNAME",
19-
content: "3a69a5bb27875189.vercel-dns-016.com",
20-
proxied: false,
21-
ttl: 60,
22-
},
23-
{ retainOnDelete: true },
24-
)
25-
26-
// Retained on delete so a follow-up can untrack it without deleting the live record.
27-
new cloudflare.DnsRecord(
28-
"TrustCenterVerification",
29-
{
30-
zoneId: zoneID,
31-
name: "opencode.ai",
32-
type: "TXT",
33-
content: "compai-domain-verification=org_6993a99c6200a2d642bb115d",
34-
ttl: 60,
35-
},
36-
{ retainOnDelete: true },
37-
)
38-
}

‎sst-env.d.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ declare module "sst" {
2828
"type": "sst.cloudflare.StaticSite"
2929
"url": string
3030
}
31-
"ZenData": import("@cloudflare/workers-types").R2Bucket
32-
"ZenDataNew": import("@cloudflare/workers-types").R2Bucket
3331
}
3432
}
3533

‎sst.config.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export default $config({
2626
const stage = await import("./infra/stage.js")
2727
await import("./infra/app.js")
2828
const stats = stage.deployStats ? await import("./infra/stats.js") : undefined
29-
await import("./infra/console.js")
3029

3130
return {
3231
...(stats ? { StatsUrl: stats.publicUrl } : {}),

0 commit comments

Comments
 (0)