-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1
Description
Describe the bug
NetworkTargetGroup only allows you to select 10 or 30 seconds for the health check interval. The allowed range is from 5 to 300.
Expected Behavior
I expect to be able to set the health check interval anywhere from 5 to 300 seconds
Current Behavior
I can only set the health check interval to be 10 or 30 seconds
Reproduction Steps
const nlbService = new NetworkLoadBalancedFargateService(this, 'NlbFargatePattern', {
taskDefinition,
});
nlbService.targetGroup.configureHealthCheck({
interval: cdk.Duration.seconds(25)
});
This will produce the following error message
Health check interval '25' not supported. Must be one of the following values '10,30'.
Possible Solution
Will submit PR
Additional Information/Context
No response
CDK CLI Version
2.64
Framework Version
No response
Node.js Version
16
OS
mac
Language
Typescript
Language Version
No response
Other information
No response
rgoltz
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1