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
The instance scheduler appears to get hung up on disabled maintenance windows, as they do not have a NextExecutionTime:
2019-06-19 - 13:45:12.901 - ERROR : Error loading ssm maintenace windows, ('NextExecutionTime')
2019-06-19 - 13:45:13.659 - ERROR : SSM maintenance window test-maintenance-window used in schedule AlwaysOff not found
This error was duplicated in a second AWS account by disabling an existing maintenance window and attempting to reference a second, active one in a schedule.
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue, George, and sorry for the delay. I've reproduced this issue. So one option would be to keep the value of the use_maintenance_window parameter in sync with state (enabled/disabled) of the maintenance window. This isn't ideal though...
I think the better solution here would be to filter out disabled maintenance windows from the describe_maintenance_windows boto3 call as follows:
The instance scheduler appears to get hung up on disabled maintenance windows, as they do not have a
NextExecutionTime
:This error was duplicated in a second AWS account by disabling an existing maintenance window and attempting to reference a second, active one in a schedule.
The text was updated successfully, but these errors were encountered: