From 8b0598e07b30e595c09b6a20d030052a5686cdd0 Mon Sep 17 00:00:00 2001 From: nsxshota Date: Tue, 21 Nov 2023 16:51:06 +0900 Subject: [PATCH] add portMapping hostport --- deploy/scripts/cdk/lib/construct/frontend.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/scripts/cdk/lib/construct/frontend.ts b/deploy/scripts/cdk/lib/construct/frontend.ts index e5aec96b6..cb9e7085c 100644 --- a/deploy/scripts/cdk/lib/construct/frontend.ts +++ b/deploy/scripts/cdk/lib/construct/frontend.ts @@ -59,6 +59,7 @@ export class FrontEndCluster extends Construct { portMappings: [ { name:frontendServiceName, + hostPort:80, containerPort: containerPort, protocol: ecs.Protocol.TCP, appProtocol:ecs.AppProtocol.http,