Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(search): add doc storage url env var to upload lambda (#2157)
gbirman50ce7207b4d5
diff --git a/infra/stacks/search-upload/index.ts b/infra/stacks/search-upload/index.tsindex 3a4c0b1533..c90d412aa6 100644--- a/infra/stacks/search-upload/index.ts+++ b/infra/stacks/search-upload/index.ts@@ -19,6 +19,7 @@ const searchUploadHandler = new SearchUploadHandler(ENVIRONMENT: pulumi.interpolate`${stack}`,RUST_LOG: 'search_upload_handler=info',SEARCH_EVENT_QUEUE: pulumi.interpolate`${searchEventQueueName}`,+ DOCUMENT_STORAGE_SERVICE_URL: `https://cloud-storage${stack === 'prod' ? '' : `-${stack}`}.macro.com`,},searchEventQueueArn,tags,diff --git a/infra/stacks/search-upload/search-upload-lambda.ts b/infra/stacks/search-upload/search-upload-lambda.tsindex 9ee7875a9c..f921c1fc93 100644--- a/infra/stacks/search-upload/search-upload-lambda.ts+++ b/infra/stacks/search-upload/search-upload-lambda.ts@@ -11,6 +11,7 @@ type EnvVars = {ENVIRONMENT: pulumi.Output<string> | string;RUST_LOG: pulumi.Output<string> | string;SEARCH_EVENT_QUEUE: pulumi.Output<string> | string;+ DOCUMENT_STORAGE_SERVICE_URL: pulumi.Output<string> | string;};type Args = {