Requirement
Introduce configuration options to explicitly exclude AWS accounts and individual EC2 instances from AutoStopping scheduling, regardless of whether they have the configured scheduling tag.
  1. AWS Account-Level Exclusion
Allow users to configure a list of AWS account IDs to be excluded.
All EC2 and RDS instances belonging to the excluded accounts must be excluded from AutoStopping scheduling.
This exclusion must take precedence over the scheduling tag. Resources in excluded accounts must not be scheduled even if they have the scheduling tag.
  1. Individual EC2 Instance Exclusion
Allow users to configure a list of specific EC2 instance IDs to be excluded.
Listed EC2 instances must be excluded from AutoStopping scheduling, even if they have the scheduling tag.
The existing patching tag functionality must continue to work as it does today and must not be impacted by this exclusion.
Expected Behaviour
Resources in excluded AWS accounts are never picked up for AutoStopping scheduling.
Explicitly excluded EC2 instances are never picked up for scheduling.
Exclusion rules take precedence over the scheduling tag.
The existing patching tag behaviour remains unchanged.
Resources not covered by the exclusion lists continue to follow the existing scheduling-tag-based behaviour.
Created by Manisha Choudhary
·