Skip to content

Commit

Permalink
fix(cdk): remove hostname from web construct and management command c…
Browse files Browse the repository at this point in the history
…onstruct
  • Loading branch information
briancaffey committed Nov 6, 2022
1 parent 4042b9d commit f77a66e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/constructs/internal/ecs/management-command/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(',');
Expand Down
1 change: 0 additions & 1 deletion src/constructs/internal/ecs/web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export class WebService extends Construct {
containerPort: props.port,
hostPort: props.port,
}],
hostname: props.containerName,
});

const useSpot = props.useSpot ?? false;
Expand Down

0 comments on commit f77a66e

Please sign in to comment.