Skip to content

Commit 715589f

Browse files
committed
fix: stuck sst deployment
1 parent 922903e commit 715589f

3 files changed

Lines changed: 0 additions & 34 deletions

File tree

infra/lake-destroy-prep.ts

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

infra/stage.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const domain = (() => {
77
export const zoneID = "430ba34c138cfb5360826c4909f99be8"
88
// Dev owns the shared AWS lake/stats infra for all non-production stages.
99
export const awsStage = $app.stage === "production" ? "production" : "dev"
10-
export const prepareAwsDestroy = $app.stage === "production" || $app.stage === "dev"
1110
// Temporarily omit AWS infra so SST removes the lake/stats resources.
1211
export const deployAws = false
1312

sst.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
export default $config({
44
app(input) {
5-
const prepareAwsDestroy = input.stage === "production" || input.stage === "dev"
6-
// Temporarily omit AWS infra so SST removes the lake/stats resources.
7-
const deployAws = false
85
return {
96
name: "opencode",
107
removal: input?.stage === "production" ? "retain" : "remove",
@@ -33,9 +30,6 @@ export default $config({
3330
async run() {
3431
const stage = await import("./infra/stage.js")
3532
await import("./infra/app.js")
36-
if (stage.prepareAwsDestroy) {
37-
await import("./infra/lake-destroy-prep.js")
38-
}
3933
if (stage.deployAws) {
4034
await import("./infra/lake.js")
4135
await import("./infra/stats.js")

0 commit comments

Comments
 (0)