From 749f97797e20b91b41780f83767708c968d10421 Mon Sep 17 00:00:00 2001 From: KONFeature Date: Tue, 30 Jul 2024 12:23:11 +0200 Subject: [PATCH] Cleanup erpc service --- iac/Indexer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iac/Indexer.ts b/iac/Indexer.ts index ad09bca..057e6bc 100644 --- a/iac/Indexer.ts +++ b/iac/Indexer.ts @@ -46,15 +46,15 @@ export function IndexerStack({ app, stack }: StackContext) { }); // Then add the erpc service - const erpcService = addErpcService({ stack, app, vpc, cluster }); + //const erpcService = addErpcService({ stack, app, vpc, cluster }); // Add the indexer service const indexerService = addIndexerService({ stack, app, vpc, cluster }); // If we are missing the fargate services, early exit const indexerFaragateService = indexerService.cdk?.fargateService; - const erpcFargateService = erpcService.cdk?.fargateService; - if (!(indexerFaragateService && erpcFargateService)) { + // const erpcFargateService = erpcService.cdk?.fargateService; + if (!(indexerFaragateService)) { throw new Error( "Missing fargate service in the indexer or erpc service" );