You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
|[aws_ami.amazon_linux_2](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami)| data source |
208
205
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
209
206
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
210
207
@@ -232,6 +229,7 @@ module "pipeline_rds" {
232
229
| <aname="input_custom_iglu_resolvers"></a> [custom\_iglu\_resolvers](#input\_custom\_iglu\_resolvers)| The custom Iglu Resolvers that will be used by Enrichment to resolve and validate events | <pre>list(object({<br> name = string<br> priority = number<br> uri = string<br> api_key = string<br> vendor_prefixes = list(string)<br> }))</pre> |`[]`| no |
233
230
| <aname="input_db_max_connections"></a> [db\_max\_connections](#input\_db\_max\_connections)| The maximum number of connections to the backing database |`number`|`10`| no |
234
231
| <aname="input_default_iglu_resolvers"></a> [default\_iglu\_resolvers](#input\_default\_iglu\_resolvers)| The default Iglu Resolvers that will be used by Enrichment to resolve and validate events | <pre>list(object({<br> name = string<br> priority = number<br> uri = string<br> api_key = string<br> vendor_prefixes = list(string)<br> }))</pre> | <pre>[<br> {<br> "api_key": "",<br> "name": "Iglu Central",<br> "priority": 10,<br> "uri": "http://iglucentral.com",<br> "vendor_prefixes": []<br> },<br> {<br> "api_key": "",<br> "name": "Iglu Central - Mirror 01",<br> "priority": 20,<br> "uri": "http://mirror01.iglucentral.com",<br> "vendor_prefixes": []<br> }<br>]</pre> | no |
232
+
| <aname="input_enable_auto_scaling"></a> [enable\_auto\_scaling](#input\_enable\_auto\_scaling)| Whether to enable auto-scaling policies for the service (WARN: ensure you have sufficient db\_connections available for the max number of nodes in the ASG) |`bool`|`true`| no |
235
233
| <aname="input_iam_permissions_boundary"></a> [iam\_permissions\_boundary](#input\_iam\_permissions\_boundary)| The permissions boundary ARN to set on IAM roles created |`string`|`""`| no |
236
234
| <aname="input_in_max_batch_size_checkpoint"></a> [in\_max\_batch\_size\_checkpoint](#input\_in\_max\_batch\_size\_checkpoint)| The maximum number events to process before checkpointing progress on the stream |`number`|`1000`| no |
237
235
| <aname="input_in_max_batch_wait_checkpoint"></a> [in\_max\_batch\_wait\_checkpoint](#input\_in\_max\_batch\_wait\_checkpoint)| The maximum amount of time to wait before checkpointing progress on the stream |`string`|`"10 seconds"`| no |
@@ -244,6 +242,12 @@ module "pipeline_rds" {
244
242
| <aname="input_kcl_write_min_capacity"></a> [kcl\_write\_min\_capacity](#input\_kcl\_write\_min\_capacity)| The minimum WRITE capacity for the KCL DynamoDB table |`number`|`1`| no |
245
243
| <aname="input_max_size"></a> [max\_size](#input\_max\_size)| The maximum number of servers in this server-group |`number`|`2`| no |
246
244
| <aname="input_min_size"></a> [min\_size](#input\_min\_size)| The minimum number of servers in this server-group |`number`|`1`| no |
245
+
| <aname="input_scale_down_cooldown_sec"></a> [scale\_down\_cooldown\_sec](#input\_scale\_down\_cooldown\_sec)| Time (in seconds) until another scale-down action can occur |`number`|`600`| no |
246
+
| <aname="input_scale_down_cpu_threshold_percentage"></a> [scale\_down\_cpu\_threshold\_percentage](#input\_scale\_down\_cpu\_threshold\_percentage)| The average CPU percentage that we must be below to scale-down |`number`|`20`| no |
247
+
| <aname="input_scale_down_eval_minutes"></a> [scale\_down\_eval\_minutes](#input\_scale\_down\_eval\_minutes)| The number of consecutive minutes that we must be below the threshold to scale-down |`number`|`60`| no |
248
+
| <aname="input_scale_up_cooldown_sec"></a> [scale\_up\_cooldown\_sec](#input\_scale\_up\_cooldown\_sec)| Time (in seconds) until another scale-up action can occur |`number`|`180`| no |
249
+
| <aname="input_scale_up_cpu_threshold_percentage"></a> [scale\_up\_cpu\_threshold\_percentage](#input\_scale\_up\_cpu\_threshold\_percentage)| The average CPU percentage that must be exceeded to scale-up |`number`|`60`| no |
250
+
| <aname="input_scale_up_eval_minutes"></a> [scale\_up\_eval\_minutes](#input\_scale\_up\_eval\_minutes)| The number of consecutive minutes that the threshold must be breached to scale-up |`number`|`5`| no |
247
251
| <aname="input_ssh_ip_allowlist"></a> [ssh\_ip\_allowlist](#input\_ssh\_ip\_allowlist)| The list of CIDR ranges to allow SSH traffic from |`list(any)`| <pre>[<br> "0.0.0.0/0"<br>]</pre> | no |
248
252
| <aname="input_tags"></a> [tags](#input\_tags)| The tags to append to this resource |`map(string)`|`{}`| no |
249
253
| <aname="input_telemetry_enabled"></a> [telemetry\_enabled](#input\_telemetry\_enabled)| Whether or not to send telemetry information back to Snowplow Analytics Ltd |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: variables.tf
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,50 @@ variable "java_opts" {
108
108
type=string
109
109
}
110
110
111
+
# --- Auto-scaling options
112
+
113
+
variable"enable_auto_scaling" {
114
+
description="Whether to enable auto-scaling policies for the service (WARN: ensure you have sufficient db_connections available for the max number of nodes in the ASG)"
115
+
default=true
116
+
type=bool
117
+
}
118
+
119
+
variable"scale_up_cooldown_sec" {
120
+
description="Time (in seconds) until another scale-up action can occur"
121
+
default=180
122
+
type=number
123
+
}
124
+
125
+
variable"scale_up_cpu_threshold_percentage" {
126
+
description="The average CPU percentage that must be exceeded to scale-up"
127
+
default=60
128
+
type=number
129
+
}
130
+
131
+
variable"scale_up_eval_minutes" {
132
+
description="The number of consecutive minutes that the threshold must be breached to scale-up"
133
+
default=5
134
+
type=number
135
+
}
136
+
137
+
variable"scale_down_cooldown_sec" {
138
+
description="Time (in seconds) until another scale-down action can occur"
139
+
default=600
140
+
type=number
141
+
}
142
+
143
+
variable"scale_down_cpu_threshold_percentage" {
144
+
description="The average CPU percentage that we must be below to scale-down"
145
+
default=20
146
+
type=number
147
+
}
148
+
149
+
variable"scale_down_eval_minutes" {
150
+
description="The number of consecutive minutes that we must be below the threshold to scale-down"
0 commit comments