amazon-archives / ec2-scheduler

The EC2 Scheduler uses a recurring Lambda function to automatically start and stop EC2 instances based on either default schedule or custom schedule defined per EC2 instance. - Now found at https://github.com/awslabs/aws-instance-scheduler
Other
148 stars 87 forks source link

Removing identical stop and start time when only custom start value is present. #13

Open aarondunlop opened 7 years ago

aarondunlop commented 7 years ago

This is to match the tag value structure See the '0800' example. That will result in a start, and stop time of 0800, even if the default stop value should be something else.

I think there are edge cases here where if start/stop values are none it won't work as expected but didn't test fully.