@@ -13,6 +13,7 @@ If you are using Terraform 0.11 you can use versions v1.*.
1313
1414* Aws lambda runtine Python 3.7
1515* ec2 instances scheduling
16+ * ecs service scheduling
1617* rds clusters scheduling
1718* rds instances scheduling
1819* autoscalings scheduling
@@ -29,6 +30,7 @@ module "stop_ec2_instance" {
2930 schedule_action = "stop"
3031 autoscaling_schedule = "false"
3132 ec2_schedule = "true"
33+ ecs_schedule = "false"
3234 rds_schedule = "false"
3335 cloudwatch_alarm_schedule = "false"
3436 scheduler_tag = {
@@ -44,6 +46,7 @@ module "start_ec2_instance" {
4446 schedule_action = "start"
4547 autoscaling_schedule = "false"
4648 ec2_schedule = "true"
49+ ecs_schedule = "false"
4750 rds_schedule = "false"
4851 cloudwatch_alarm_schedule = "false"
4952 scheduler_tag = {
@@ -72,6 +75,7 @@ module "start_ec2_instance" {
7275| cloudwatch_schedule_expression | The scheduling expression | string | ` "cron(0 22 ? * MON-FRI *)" ` | yes |
7376| autoscaling_schedule | Enable scheduling on autoscaling resources | string | ` "false" ` | no |
7477| ec2_schedule | Enable scheduling on ec2 instance resources | string | ` "false" ` | no |
78+ | ecs_schedule | Enable scheduling on ecs services resources | string | ` "false" ` | no |
7579| rds_schedule | Enable scheduling on rds resources | string | ` "false" ` | no |
7680| cloudwatch_alarm_schedule | Enable scheduleding on cloudwatch alarm resources | string | ` "false" ` | no |
7781| schedule_action | Define schedule action to apply on resources | string | ` "stop" ` | yes |
@@ -157,6 +161,7 @@ Apache 2 Licensed. See LICENSE for full details.
157161
158162* [ cloudwatch schedule expressions] ( https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html )
159163* [ Python boto3 ec2] ( https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2.html )
164+ * [ Python boto3 ecs] ( https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ecs.html )
160165* [ Python boto3 rds] ( https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds.html )
161166* [ Python boto3 autoscaling] ( https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling.html )
162167* [ Terratest] ( https://github.com/gruntwork-io/terratest )
0 commit comments