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): bump base instance count for search service in prod (#409)

Will Hutchinsona4fadb252e69
diff --git a/infra/stacks/search-service/service.ts b/infra/stacks/search-service/service.ts
index b40e6ed48d..8c2088123d 100644
--- a/infra/stacks/search-service/service.ts
+++ b/infra/stacks/search-service/service.ts
@@ -206,7 +206,7 @@ export class SearchService extends pulumi.ComponentResource {
}`,
},
},
- desiredCount: 1,
+ desiredCount: stack === 'prod' ? 3 : 1,
},
{ parent: this }
);
@@ -348,7 +348,7 @@ export class SearchService extends pulumi.ComponentResource {
`${BASE_NAME}-service-scalable-target-${stack}`,
{
maxCapacity: stack === 'prod' ? 10 : 3,
- minCapacity: 1,
+ minCapacity: stack === 'prod' ? 3 : 1,
resourceId: pulumi.interpolate`service/${this.clusterName}/${this.service.service.name}`,
scalableDimension: 'ecs:service:DesiredCount',
serviceNamespace: 'ecs',