From c2db060f8bf891ec8e04e42915bb4fa13fd7f1d2 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Ploeg <daniel.vanderploeg@aligent.com.au> Date: Thu, 12 Sep 2024 10:21:03 +0930 Subject: [PATCH] fix: specifically target mesh container for deploy --- packages/graphql-mesh-server/lib/pipeline.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/graphql-mesh-server/lib/pipeline.ts b/packages/graphql-mesh-server/lib/pipeline.ts index 13466401..f89c1e45 100644 --- a/packages/graphql-mesh-server/lib/pipeline.ts +++ b/packages/graphql-mesh-server/lib/pipeline.ts @@ -107,7 +107,8 @@ export class CodePipelineService extends Construct { }, CONTAINER_NAME: { value: - props.service.taskDefinition.defaultContainer?.containerName, + props.service.taskDefinition.findContainer("mesh") + ?.containerName, }, }, }),