Skip to content

Commit 6c1f16a

Browse files
committed
docs(README.md): add documentdb exemple
1 parent 942f713 commit 6c1f16a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ If you are using Terraform 0.11 you can use versions v1.*.
1717
* rds clusters scheduling
1818
* rds instances scheduling
1919
* redshift clusters scheduling
20+
* documentdb clusters scheduling
2021
* autoscalings scheduling
2122
* cloudwatch alarm scheduling
2223
* Aws CloudWatch logs for lambda
@@ -30,6 +31,7 @@ module "stop_ec2_instance" {
3031
cloudwatch_schedule_expression = "cron(0 0 ? * FRI *)"
3132
schedule_action = "stop"
3233
autoscaling_schedule = "false"
34+
documendb_schedule = "false"
3335
ec2_schedule = "true"
3436
ecs_schedule = "false"
3537
rds_schedule = "false"
@@ -47,6 +49,7 @@ module "start_ec2_instance" {
4749
cloudwatch_schedule_expression = "cron(0 8 ? * MON *)"
4850
schedule_action = "start"
4951
autoscaling_schedule = "false"
52+
documendb_schedule = "false"
5053
ec2_schedule = "true"
5154
ecs_schedule = "false"
5255
rds_schedule = "false"
@@ -62,6 +65,7 @@ module "start_ec2_instance" {
6265
## Examples
6366

6467
* [Autoscaling scheduler](https://github.com/diodonfrost/terraform-aws-lambda-scheduler-stop-start/tree/master/examples/autoscaling-scheduler) - Create lambda functions to suspend autoscaling group with tag `tostop = true` and terminate its ec2 instances on Friday at 23:00 Gmt and start them on Monday at 07:00 GMT
68+
* [Documentdb scheduler](https://github.com/diodonfrost/terraform-aws-lambda-scheduler-stop-start/tree/master/examples/documentdb-scheduler) - Create lambda functions to stop documentdb cluster with tag `tostop = true` on Friday at 23:00 Gmt and start them on Monday at 07:00 GMT
6569
* [Instance scheduler](https://github.com/diodonfrost/terraform-aws-lambda-scheduler-stop-start/tree/master/examples/instance-scheduler) - Create lambda functions to stop ec2 with tag `tostop = true` on Friday at 23:00 Gmt and start them on Monday at 07:00 GMT
6670
* [Rds aurora - mariadb scheduler](https://github.com/diodonfrost/terraform-aws-lambda-scheduler-stop-start/tree/master/examples/rds-scheduler) - Create lambda functions to stop rds mariadb and aurora cluster with tag `tostop = true` on Friday at 23:00 Gmt and start them on Monday at 07:00 GMT
6771
* [test fixture](https://github.com/diodonfrost/terraform-aws-lambda-scheduler-stop-start/tree/master/examples/test_fixture) - Deploy environment for testing module
@@ -77,6 +81,7 @@ module "start_ec2_instance" {
7781
| aws_regions | A list of one or more aws regions where the lambda will be apply, default use the current region | list | null | no |
7882
| cloudwatch_schedule_expression | The scheduling expression | string | `"cron(0 22 ? * MON-FRI *)"` | yes |
7983
| autoscaling_schedule | Enable scheduling on autoscaling resources | string | `"false"` | no |
84+
| documendb_schedule | Enable scheduling on documentdb resources | string | `"false"` | no |
8085
| ec2_schedule | Enable scheduling on ec2 instance resources | string | `"false"` | no |
8186
| ecs_schedule | Enable scheduling on ecs services resources | string | `"false"` | no |
8287
| rds_schedule | Enable scheduling on rds resources | string | `"false"` | no |

0 commit comments

Comments
 (0)