summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorRyan Vogel <[email protected]>2026-03-17 22:43:43 -0400
committerGitHub <[email protected]>2026-03-17 22:43:43 -0400
commita849a17e9329f0b4b0dbb85abf1366b51f935f8c (patch)
tree2f2958b68a99962f193ea0410bec27d70d0d25ad /infra
parent0292f1b5596db954e3811f91a9fafcfad650ead1 (diff)
downloadopencode-a849a17e9329f0b4b0dbb85abf1366b51f935f8c.tar.gz
opencode-a849a17e9329f0b4b0dbb85abf1366b51f935f8c.zip
feat(enterprise): contact form now pushes to salesforce 🙄 (#17964)
Co-authored-by: slickstef11 <[email protected]> Co-authored-by: Frank <[email protected]>
Diffstat (limited to 'infra')
-rw-r--r--infra/console.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/console.ts b/infra/console.ts
index c7889c587..7b6f21001 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -201,6 +201,10 @@ const bucketNew = new sst.cloudflare.Bucket("ZenDataNew")
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")
+const SALESFORCE_CLIENT_ID = new sst.Secret("SALESFORCE_CLIENT_ID")
+const SALESFORCE_CLIENT_SECRET = new sst.Secret("SALESFORCE_CLIENT_SECRET")
+const SALESFORCE_INSTANCE_URL = new sst.Secret("SALESFORCE_INSTANCE_URL")
+
const logProcessor = new sst.cloudflare.Worker("LogProcessor", {
handler: "packages/console/function/src/log-processor.ts",
link: [new sst.Secret("HONEYCOMB_API_KEY")],
@@ -219,6 +223,9 @@ new sst.cloudflare.x.SolidStart("Console", {
EMAILOCTOPUS_API_KEY,
AWS_SES_ACCESS_KEY_ID,
AWS_SES_SECRET_ACCESS_KEY,
+ SALESFORCE_CLIENT_ID,
+ SALESFORCE_CLIENT_SECRET,
+ SALESFORCE_INSTANCE_URL,
ZEN_BLACK_PRICE,
ZEN_LITE_PRICE,
new sst.Secret("ZEN_LIMITS"),