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(dss): deploy (#4129)

Will Hutchinsondcd280778af4
diff --git a/infra/stacks/cloud-storage-service/index.ts b/infra/stacks/cloud-storage-service/index.ts
index 189c644eb5..34a1122ee2 100644
--- a/infra/stacks/cloud-storage-service/index.ts
+++ b/infra/stacks/cloud-storage-service/index.ts
@@ -133,12 +133,11 @@ const OPENSEARCH_URL: pulumi.Output<string> = opensearchStack
.apply((domainEndpoint) => `https://${domainEndpoint}`);
const OPENSEARCH_USERNAME = 'macrouser';
-const OPENSEARCH_PASSWORD = config.require('opensearch_password_key');
-const opensearchPasswordArn = aws.secretsmanager
+const OPENSEARCH_PASSWORD = aws.secretsmanager
.getSecretVersionOutput({
- secretId: OPENSEARCH_PASSWORD,
+ secretId: config.require('opensearch_password_key'),
})
- .apply((secret) => secret.arn);
+ .apply((secret) => secret.secretString);
const cloudStorageStack = new pulumi.StackReference('cloud-storage-stack', {
name: `macro-inc/document-storage/${stack}`,
@@ -406,7 +405,6 @@ const cloudStorageService = new CloudStorageService(
internalApiKeyArn,
syncServiceAuthKeyArn,
MACRO_API_TOKENS.macroApiTokenPublicKeyArn,
- opensearchPasswordArn,
githubWebhookSecretKeyArn,
githubSyncAppPemArn,
calWebhookSecretKeyArn,