From 7a7f92e5558883843e3c066b8a11c6338ebed3d8 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,