diff --git a/cdk/service-stack/lib/service-stack.ts b/cdk/service-stack/lib/service-stack.ts index 293e1bc5..773a8a7a 100644 --- a/cdk/service-stack/lib/service-stack.ts +++ b/cdk/service-stack/lib/service-stack.ts @@ -23,7 +23,8 @@ type Mutable = { }; const customizeFargate = (service: string, env: string, props: Mutable) => { - if (service === "research-service") { + if (service === "research-service" && ["prod", "staging"].includes(env)) { + // Beef up the research service in staging and prod props.cpu = 2048; props.memoryLimitMiB = 4096; }