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.

chore(iac): update dcs min instance count (#1855)

Will Hutchinson5217610c8429
diff --git a/infra/stacks/document-cognition-service/document-cognition-service.ts b/infra/stacks/document-cognition-service/document-cognition-service.ts
index b174001544..5625ff4925 100644
--- a/infra/stacks/document-cognition-service/document-cognition-service.ts
+++ b/infra/stacks/document-cognition-service/document-cognition-service.ts
@@ -276,7 +276,7 @@ export class DocumentCognitionService extends pulumi.ComponentResource {
}`,
},
},
- desiredCount: stack === 'prod' ? 6 : 1,
+ desiredCount: stack === 'prod' ? 4 : 1,
},
{ parent: this }
);
@@ -424,8 +424,8 @@ export class DocumentCognitionService extends pulumi.ComponentResource {
const serviceScalableTarget = new aws.appautoscaling.Target(
`${BASE_NAME}-service-scalable-target-${stack}`,
{
- maxCapacity: stack === 'prod' ? 15 : 3,
- minCapacity: stack === 'prod' ? 6 : 1,
+ maxCapacity: stack === 'prod' ? 10 : 3,
+ minCapacity: stack === 'prod' ? 4 : 1,
resourceId: pulumi.interpolate`service/${this.cloudStorageClusterName}/${this.service.service.name}`,
scalableDimension: 'ecs:service:DesiredCount',
serviceNamespace: 'ecs',