aws-ecs-patterns: Health Check Interval > Timeout Fails On Deploy #29062
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
When configuring
ApplicationLoadBalancedFargateService targetGroup.configureHealthCheck
, it is possible to have deployment fail with "Health check interval must be greaterthan the timeout.". This should fail during synthesis as the values are known at that time.
Expected Behavior
I expected my deployment to succeed, or the error to be caught during synthesis.
Current Behavior
Stack was synthesized successfully, but the deployment failed.
Reproduction Steps
Create a new ApplicationLoadBalancedFargateService:
Then apply the following:
Possible Solution
Synthesis should check the interval of the health check is larger than the timeout.
Additional Information/Context
No response
CDK CLI Version
2.126.0
Framework Version
No response
Node.js Version
18.18.2
OS
macOS 14.3.1
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: