Skip to content

Commit

Permalink
feat: add schedule scaling possibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mfroembgen committed Nov 6, 2023
1 parent bb7a8fb commit 5bf348c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ No modules.
| <a name="input_autoscaling_enabled"></a> [autoscaling\_enabled](#input\_autoscaling\_enabled) | Whether or not to enable autoscaling. See note in README about this setting | `bool` | `false` | no |
| <a name="input_autoscaling_indexes"></a> [autoscaling\_indexes](#input\_autoscaling\_indexes) | A map of index autoscaling configurations. See example in examples/autoscaling | `map(map(string))` | `{}` | no |
| <a name="input_autoscaling_read"></a> [autoscaling\_read](#input\_autoscaling\_read) | A map of read autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling | `map(string)` | `{}` | no |
| <a name="input_autoscaling_scheduled_indexes_read"></a> [autoscaling\_scheduled\_indexes\_read](#input\_autoscaling\_scheduled\_indexes\_read) | A map of index scheduled scaling configurations. See example in examples/autoscaling | <pre>map(list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> })))</pre> | `{}` | no |
| <a name="input_autoscaling_scheduled_indexes_write"></a> [autoscaling\_scheduled\_indexes\_write](#input\_autoscaling\_scheduled\_indexes\_write) | A map of index scheduled scaling configurations. See example in examples/autoscaling | <pre>map(list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> })))</pre> | `{}` | no |
| <a name="input_autoscaling_scheduled_indexes_read"></a> [autoscaling\_scheduled\_indexes\_read](#input\_autoscaling\_scheduled\_indexes\_read) | A map of index read scheduled scaling configurations. See example in examples/autoscaling | <pre>map(list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> })))</pre> | `{}` | no |
| <a name="input_autoscaling_scheduled_indexes_write"></a> [autoscaling\_scheduled\_indexes\_write](#input\_autoscaling\_scheduled\_indexes\_write) | A map of index write scheduled scaling configurations. See example in examples/autoscaling | <pre>map(list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> })))</pre> | `{}` | no |
| <a name="input_autoscaling_scheduled_read"></a> [autoscaling\_scheduled\_read](#input\_autoscaling\_scheduled\_read) | A map of read scheduled scaling settings. See example in examples/autoscaling | <pre>list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> }))</pre> | `[]` | no |
| <a name="input_autoscaling_scheduled_write"></a> [autoscaling\_scheduled\_write](#input\_autoscaling\_scheduled\_write) | A map of write scheduled scaling settings. See example in examples/autoscaling | <pre>list(object({<br> schedule = string<br> start_time = optional(string)<br> end_time = optional(string)<br> timezone = optional(string)<br> min_capacity = number<br> max_capacity = number<br> }))</pre> | `[]` | no |
| <a name="input_autoscaling_write"></a> [autoscaling\_write](#input\_autoscaling\_write) | A map of write autoscaling settings. `max_capacity` is the only required key. See example in examples/autoscaling | `map(string)` | `{}` | no |
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ variable "autoscaling_scheduled_write" {
}

variable "autoscaling_scheduled_indexes_read" {
description = "A map of index scheduled scaling configurations. See example in examples/autoscaling"
description = "A map of index read scheduled scaling configurations. See example in examples/autoscaling"
type = map(list(object({
schedule = string
start_time = optional(string)
Expand All @@ -196,7 +196,7 @@ variable "autoscaling_scheduled_indexes_read" {
}

variable "autoscaling_scheduled_indexes_write" {
description = "A map of index scheduled scaling configurations. See example in examples/autoscaling"
description = "A map of index write scheduled scaling configurations. See example in examples/autoscaling"
type = map(list(object({
schedule = string
start_time = optional(string)
Expand Down

0 comments on commit 5bf348c

Please sign in to comment.