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" );