aws-autoscaling: Schedule.cron fails with "Cannot supply both 'day' and 'weekDay', use at most one" #27256
Labels
@aws-cdk/aws-autoscaling
Related to Amazon EC2 Auto Scaling
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
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: