Skip to content

Instance Scheduler starting all instances belonging to a schedule irrespective of maintenance window #620

@hammadraza66

Description

@hammadraza66

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) and ssm_maintenance_window(StringSet) name_of_maintenance_window1 as field 0 and name_of_maintenance_window2 as field 1.
Image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions