diff options
| author | Frank <[email protected]> | 2025-10-01 19:34:37 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-10-01 19:34:37 -0400 |
| commit | 70da3a9399d3385b53f7831beb08f716b972860d (patch) | |
| tree | 6934fafb8558d426df88ca83d043eb3ac5910dcd /infra/console.ts | |
| parent | 1024537b471c341581826b39c360d34d6c32404f (diff) | |
| download | opencode-70da3a9399d3385b53f7831beb08f716b972860d.tar.gz opencode-70da3a9399d3385b53f7831beb08f716b972860d.zip | |
wip: zen
Diffstat (limited to 'infra/console.ts')
| -rw-r--r-- | infra/console.ts | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/infra/console.ts b/infra/console.ts index bab661975..281bafad4 100644 --- a/infra/console.ts +++ b/infra/console.ts @@ -110,6 +110,9 @@ const STRIPE_WEBHOOK_SECRET = new sst.Linkable("STRIPE_WEBHOOK_SECRET", { // CONSOLE //////////////// +const AWS_SES_ACCESS_KEY_ID = new sst.Secret("AWS_SES_ACCESS_KEY_ID") +const AWS_SES_SECRET_ACCESS_KEY = new sst.Secret("AWS_SES_SECRET_ACCESS_KEY") + let logProcessor if ($app.stage === "production" || $app.stage === "frank") { const HONEYCOMB_API_KEY = new sst.Secret("HONEYCOMB_API_KEY") @@ -122,7 +125,16 @@ if ($app.stage === "production" || $app.stage === "frank") { new sst.cloudflare.x.SolidStart("Console", { domain, path: "packages/console/app", - link: [database, AUTH_API_URL, STRIPE_WEBHOOK_SECRET, STRIPE_SECRET_KEY, ZEN_MODELS, EMAILOCTOPUS_API_KEY], + link: [ + database, + AUTH_API_URL, + STRIPE_WEBHOOK_SECRET, + STRIPE_SECRET_KEY, + ZEN_MODELS, + EMAILOCTOPUS_API_KEY, + AWS_SES_ACCESS_KEY_ID, + AWS_SES_SECRET_ACCESS_KEY, + ], environment: { //VITE_DOCS_URL: web.url.apply((url) => url!), //VITE_API_URL: gateway.url.apply((url) => url!), |
