-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-autoscaling: Schedule.cron fails with "Cannot supply both 'day' and 'weekDay', use at most one" #27256
Comments
Hi @lmiguelmh , yes I am able to repro the issue. There is some default value being passed into |
Had this issue today with ASG as well as ECS scheduled scaling. Jumped back to 2.96.0 where everything worked. |
|
Describe the bug
Using the Schedule.cron fails on aws-cdk-lib==2.97.0 at synth time.
This is how I was calling it before:
The problem may be here:
aws-cdk/packages/aws-cdk-lib/aws-autoscaling/lib/schedule.ts
Lines 22 to 29 in 42494f1
Expected Behavior
This was working before:
Current Behavior
Error at synth time:
Reproduction Steps
Install latest
aws-cdk-lib
Possible Solution
Workaround:
Additional Information/Context
No response
CDK CLI Version
2.97.0 (build d7cf3be)
Framework Version
No response
Node.js Version
v20.5.1
OS
Linux
Language
Python
Language Version
Python 3.11.5
Other information
No response
The text was updated successfully, but these errors were encountered: