Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: update CLOUD_STORAGE_BASE for macro repo

Hutch3a5142da2695
diff --git a/infra/stacks/authentication-service/user-link-cleanup-lambda.ts b/infra/stacks/authentication-service/user-link-cleanup-lambda.ts
index c6433f6116..1d884a1f57 100644
--- a/infra/stacks/authentication-service/user-link-cleanup-lambda.ts
+++ b/infra/stacks/authentication-service/user-link-cleanup-lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBDA_BASE_NAME = 'user_link_cleanup_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBDA_BASE_NAME}/bootstrap.zip`;
export type EnvVars = {
diff --git a/infra/stacks/bulk-upload/upload-extractor-lambda-handler.ts b/infra/stacks/bulk-upload/upload-extractor-lambda-handler.ts
index 85c992788a..b4ae49c47b 100644
--- a/infra/stacks/bulk-upload/upload-extractor-lambda-handler.ts
+++ b/infra/stacks/bulk-upload/upload-extractor-lambda-handler.ts
@@ -5,7 +5,7 @@ import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
export const UPLOAD_EXTRACTOR_LAMBDA_TIMEOUT_SECONDS = 300;
const LAMBDA_BASE_NAME = 'upload_extractor_lambda_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBDA_BASE_NAME}/bootstrap.zip`;
export type UploadExtractorLambdaHandlerEnvVars = {
diff --git a/infra/stacks/bulk-upload/upload-extractor-lambda-trigger.ts b/infra/stacks/bulk-upload/upload-extractor-lambda-trigger.ts
index fd7063ef2e..0baff96a81 100644
--- a/infra/stacks/bulk-upload/upload-extractor-lambda-trigger.ts
+++ b/infra/stacks/bulk-upload/upload-extractor-lambda-trigger.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBDA_BASE_NAME = 'upload_extractor_lambda_trigger';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBDA_BASE_NAME}/bootstrap.zip`;
export type UploadExtractorLambdaTriggerEnvVars = {
diff --git a/infra/stacks/cloud-storage-service/delete-chat-handler.ts b/infra/stacks/cloud-storage-service/delete-chat-handler.ts
index 13eb62aa94..807c6b6fc6 100644
--- a/infra/stacks/cloud-storage-service/delete-chat-handler.ts
+++ b/infra/stacks/cloud-storage-service/delete-chat-handler.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBA_BASE_NAME = 'delete_chat_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBA_BASE_NAME}/bootstrap.zip`;
export type DeleteChatHandlerEnvVars = {
diff --git a/infra/stacks/cloud-storage-service/docx-unzip-handler-lambda.ts b/infra/stacks/cloud-storage-service/docx-unzip-handler-lambda.ts
index 5ee48ec53c..a5d4976fc5 100644
--- a/infra/stacks/cloud-storage-service/docx-unzip-handler-lambda.ts
+++ b/infra/stacks/cloud-storage-service/docx-unzip-handler-lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'docx-unzip-lambda';
-const CLOUD_STORAGE_BASE = '../../../';
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/docx-unzip-handler/bootstrap.zip`;
export type DocxUnzipLambdaEnvVars = {
diff --git a/infra/stacks/deleted-item-poller/lambda.ts b/infra/stacks/deleted-item-poller/lambda.ts
index 01de0c0dc9..8ab1e7efcf 100644
--- a/infra/stacks/deleted-item-poller/lambda.ts
+++ b/infra/stacks/deleted-item-poller/lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBDA_BASE_NAME = 'deleted_item_poller';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBDA_BASE_NAME}/bootstrap.zip`;
export type EnvVars = {
diff --git a/infra/stacks/dlp-handler/dlp-handler.ts b/infra/stacks/dlp-handler/dlp-handler.ts
index 227245b537..e96ce49384 100644
--- a/infra/stacks/dlp-handler/dlp-handler.ts
+++ b/infra/stacks/dlp-handler/dlp-handler.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBA_BASE_NAME = 'dataloss_prevention_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBA_BASE_NAME}/bootstrap.zip`;
export type EnvVars = {
diff --git a/infra/stacks/document-text-extractor/document-text-extractor.ts b/infra/stacks/document-text-extractor/document-text-extractor.ts
index 983914f70a..ae31c20d1f 100644
--- a/infra/stacks/document-text-extractor/document-text-extractor.ts
+++ b/infra/stacks/document-text-extractor/document-text-extractor.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'document-text-extractor';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${BASE_NAME}/bootstrap.zip`;
export type DocumentTextExtractorLambdaEnvVars = {
diff --git a/infra/stacks/email-service/refresh_lambda.ts b/infra/stacks/email-service/refresh_lambda.ts
index 0c1fff5bbd..1d9c03639b 100644
--- a/infra/stacks/email-service/refresh_lambda.ts
+++ b/infra/stacks/email-service/refresh_lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const EMAIL_LAMBDA_BASE_NAME = 'email_refresh_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${EMAIL_LAMBDA_BASE_NAME}/bootstrap.zip`;
export type EnvVars = {
diff --git a/infra/stacks/email-service/scheduled_lambda.ts b/infra/stacks/email-service/scheduled_lambda.ts
index 49cbcdcf15..d06a87e1c9 100644
--- a/infra/stacks/email-service/scheduled_lambda.ts
+++ b/infra/stacks/email-service/scheduled_lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const EMAIL_LAMBDA_BASE_NAME = 'email_scheduled_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${EMAIL_LAMBDA_BASE_NAME}/bootstrap.zip`;
export type EnvVars = {
diff --git a/infra/stacks/email-suppression/email-suppression.ts b/infra/stacks/email-suppression/email-suppression.ts
index 5b4d65e13c..4f5df11f28 100644
--- a/infra/stacks/email-suppression/email-suppression.ts
+++ b/infra/stacks/email-suppression/email-suppression.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const BASE_NAME = 'email_suppression_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${BASE_NAME}/bootstrap.zip`;
export type EmailSuppressionLambdaEnvVars = {
diff --git a/infra/stacks/organization-retention/organization-retention-handler.ts b/infra/stacks/organization-retention/organization-retention-handler.ts
index bd7599b19a..0ebc1f181c 100644
--- a/infra/stacks/organization-retention/organization-retention-handler.ts
+++ b/infra/stacks/organization-retention/organization-retention-handler.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBA_BASE_NAME = 'organization_retention_handler';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBA_BASE_NAME}/bootstrap.zip`;
export type OrganizationRetentionhandlerEnvVars = {
diff --git a/infra/stacks/organization-retention/organization-retention-trigger.ts b/infra/stacks/organization-retention/organization-retention-trigger.ts
index 9f3ffea830..777af4a192 100644
--- a/infra/stacks/organization-retention/organization-retention-trigger.ts
+++ b/infra/stacks/organization-retention/organization-retention-trigger.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBA_BASE_NAME = 'organization_retention_trigger';
-const CLOUD_STORAGE_BASE = `../../../`;
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBA_BASE_NAME}/bootstrap.zip`;
export type OrganizationRetentionTriggerEnvVars = {
diff --git a/infra/stacks/search-upload/search-upload-lambda.ts b/infra/stacks/search-upload/search-upload-lambda.ts
index 38f47850b4..33853ac8c5 100644
--- a/infra/stacks/search-upload/search-upload-lambda.ts
+++ b/infra/stacks/search-upload/search-upload-lambda.ts
@@ -4,7 +4,7 @@ import * as pulumi from '@pulumi/pulumi';
import { CLOUD_TRAIL_SNS_TOPIC_ARN, stack } from '@shared';
const LAMBA_BASE_NAME = 'search_upload_handler';
-const CLOUD_STORAGE_BASE = '../../../';
+const CLOUD_STORAGE_BASE = `../../../../rust/cloud-storage`;
const ZIP_LOCATION = `${CLOUD_STORAGE_BASE}/target/lambda/${LAMBA_BASE_NAME}/bootstrap.zip`;
type EnvVars = {