You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#26215 asked for validation on the max number of steps in a step scaling policy. @jedkass noted that certain policies over 20 steps fail deployment (#26215 (comment)).
Expected Behavior
Invalid number of steps in a policy fails at synth time rather than deploy time.
Current Behavior
Calling a private method like below where scalableTaskCount was created on a FargateService object:
minTaskCount is 40 and maxTaskCount is 267, which results in scalingSteps.length == 22
This fails to deploy with
There can be at most 20 step adjustments per scaling policy (Service: AWSApplicationAutoScaling; Status Code: 400; Error Code: ValidationException, etc...
Reproduction Steps
See current behavior.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.94.0
Framework Version
No response
Node.js Version
18
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
#26215 asked for validation on the max number of steps in a step scaling policy. @jedkass noted that certain policies over 20 steps fail deployment (#26215 (comment)).
Expected Behavior
Invalid number of steps in a policy fails at synth time rather than deploy time.
Current Behavior
Calling a private method like below where
scalableTaskCount
was created on aFargateService
object:minTaskCount
is 40 andmaxTaskCount
is 267, which results inscalingSteps.length == 22
This fails to deploy with
Reproduction Steps
See current behavior.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.94.0
Framework Version
No response
Node.js Version
18
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: