Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
[44;97;1m π€ Plandex [0;0;22m π Fix initialization of FargateService in main.ts βοΈ Edits: β’ infra/src/main.ts β Correctly initialize the Fargate service
Dane Schneider54970b4eb739
diff --git a/infra/src/main.ts b/infra/src/main.tsindex 93324e95..639583dd 100644--- a/infra/src/main.ts+++ b/infra/src/main.ts@@ -151,7 +151,12 @@ export class PlandexStack extends cdk.Stack {"Allow Fargate service to access RDS instance");- const fargateService = new ecs.FargateService+ const fargateService = new ecs.FargateService(this, `plandex-fargate-service-${tag}`, {+ cluster: ecsCluster,+ taskDefinition,+ desiredCount: 1,+ securityGroups: [fargateServiceSecurityGroup],+ });// Define the scaling targetconst scaling = fargateService.autoScaleTaskCount({