Skip to content

Commit 19925b5

Browse files
committed
CDK upgrade to 2.184.0
1 parent de6777c commit 19925b5

File tree

3 files changed

+184
-172
lines changed

3 files changed

+184
-172
lines changed

lib/constructs/ha-rpc-nodes-with-alb.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ export class HANodesConstruct extends cdkContructs.Construct {
120120
maxCapacity: 4,
121121
vpcSubnets: vpcSubnets,
122122
defaultInstanceWarmup: cdk.Duration.minutes(1),
123-
healthCheck: autoscaling.HealthCheck.elb({
124-
// Should give enough time for the node to catch up
125-
grace: cdk.Duration.minutes(albHealthCheckGracePeriodMin),
126-
}),
123+
healthChecks: autoscaling.HealthChecks.withAdditionalChecks({
124+
additionalTypes: [autoscaling.AdditionalHealthCheckType.ELB],
125+
gracePeriod: cdk.Duration.minutes(albHealthCheckGracePeriodMin)
126+
})
127127
});
128128

129129
rpcNodesAsg.addLifecycleHook("lifecycle-hook", {

0 commit comments

Comments
 (0)