- 
                Notifications
    
You must be signed in to change notification settings  - Fork 289
 
Open
Description
Describe the bug
When multiple maintenance windows configured in an account and are scheduled to be executed at different times - instance scheduler starts all the instances belonging to all the maintenance windows at the same time, irrespective of maintenance window time.
To Reproduce
- Created separated maintenance windows to be executed at different times.
 - Different instances were targeted for different maintenance windows.
 - All of the instances including ones belonging to maintenance window and ones not belonging to maintenance window are tagged with same schedule name as configured in DDB table.
 - Updated the applied schedule in instance scheduler DDB config table by adding 
use_maintenance_window: True(Boolean) andssm_maintenance_window(StringSet) name_of_maintenance_window1 as field 0 and name_of_maintenance_window2 as field 1. 
Expected behavior
Instance Scheduler should start the instances ONLY belonging to a specific maintenance window at given time BUT not all the instances belonging to all the maintenance windows.
Please complete the following information about the solution:
- Version: [3.0.11]
 - Region: [af-south-1]
 - Was the solution modified from the version published on this repository? No