diff --git a/src/constructs/internal/ecs/management-command/index.ts b/src/constructs/internal/ecs/management-command/index.ts index f44718b..4f3797a 100644 --- a/src/constructs/internal/ecs/management-command/index.ts +++ b/src/constructs/internal/ecs/management-command/index.ts @@ -74,7 +74,6 @@ export class ManagementCommandTask extends Construct { streamPrefix, logGroup, }), - hostname: props.containerName, }); const privateSubnets = props.vpc.selectSubnets({ subnetType: SubnetType.PRIVATE_WITH_EGRESS }).subnets.map(s => s.subnetId).join(','); diff --git a/src/constructs/internal/ecs/web/index.ts b/src/constructs/internal/ecs/web/index.ts index ad41e41..723a70c 100644 --- a/src/constructs/internal/ecs/web/index.ts +++ b/src/constructs/internal/ecs/web/index.ts @@ -92,7 +92,6 @@ export class WebService extends Construct { containerPort: props.port, hostPort: props.port, }], - hostname: props.containerName, }); const useSpot = props.useSpot ?? false;