aws-solutions / instance-scheduler-on-aws

A cross-account and cross-region solution that allows customers to automatically start and stop EC2 and RDS Instances
https://aws.amazon.com/solutions/implementations/instance-scheduler-on-aws/
Apache License 2.0
548 stars 266 forks source link

Support for create periods/schedules from a csv/excel/json #563

Open arielcv opened 2 months ago

arielcv commented 2 months ago

Support for creating periods/schedules from a csv/excel/json

I'm start to implementing this solution on a new organization (new job), and I would like to be able of creating all periods/schedules I had on my previous job. I made a backup of the ConfigTable to replicate it, but now I have to create every period/schedule manually

Describe the feature you'd like

I think an import option could be implemented on the CLI to create periods/schedules in bulk from a csv previously exported.

CrypticCabub commented 2 months ago

Thanks for reaching out!

We'll add this to our backlog to be prioritized for a future release.

In the meantime, have you considered the CloudFormation Schedule Custom resource? This feature would allow you to define multiple schedules in a single independent CloudFormation template and deploy/manage that group of schedules as it's own separate entity that can be easily copied between different installations of Instance Scheduler (this is actually how I manage my test environments during development).

You can read more about this feature here: https://docs.aws.amazon.com/solutions/latest/instance-scheduler-on-aws/manage-schedules-using-infrastructure-as-code-iac.html