From 5bf348c59ff2fc57d62fa05619722e1bdc1c3c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Fr=C3=B6mbgen?= <23717573+mfroembgen@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:13:53 +0200 Subject: [PATCH] feat: add schedule scaling possibility --- README.md | 4 ++-- variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4d0a9a4..eb29ae2 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,8 @@ No modules. | [autoscaling\_enabled](#input\_autoscaling\_enabled) | Whether or not to enable autoscaling. See note in README about this setting | `bool` | `false` | no | | [autoscaling\_indexes](#input\_autoscaling\_indexes) | A map of index autoscaling configurations. See example in examples/autoscaling | `map(map(string))` | `{}` | no | | [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 | -| [autoscaling\_scheduled\_indexes\_read](#input\_autoscaling\_scheduled\_indexes\_read) | A map of index scheduled scaling configurations. See example in examples/autoscaling |
map(list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
})))
| `{}` | no | -| [autoscaling\_scheduled\_indexes\_write](#input\_autoscaling\_scheduled\_indexes\_write) | A map of index scheduled scaling configurations. See example in examples/autoscaling |
map(list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
})))
| `{}` | no | +| [autoscaling\_scheduled\_indexes\_read](#input\_autoscaling\_scheduled\_indexes\_read) | A map of index read scheduled scaling configurations. See example in examples/autoscaling |
map(list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
})))
| `{}` | no | +| [autoscaling\_scheduled\_indexes\_write](#input\_autoscaling\_scheduled\_indexes\_write) | A map of index write scheduled scaling configurations. See example in examples/autoscaling |
map(list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
})))
| `{}` | no | | [autoscaling\_scheduled\_read](#input\_autoscaling\_scheduled\_read) | A map of read scheduled scaling settings. See example in examples/autoscaling |
list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
}))
| `[]` | no | | [autoscaling\_scheduled\_write](#input\_autoscaling\_scheduled\_write) | A map of write scheduled scaling settings. See example in examples/autoscaling |
list(object({
schedule = string
start_time = optional(string)
end_time = optional(string)
timezone = optional(string)
min_capacity = number
max_capacity = number
}))
| `[]` | no | | [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 | diff --git a/variables.tf b/variables.tf index 6fe3523..97b4ead 100644 --- a/variables.tf +++ b/variables.tf @@ -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) @@ -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)