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
| additional\_tag\_map | Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
168
169
| alarm\_actions | Alarm action list |`list(string)`|`[]`| no |
169
170
| alarm\_cpu\_threshold\_percent | CPU threshold alarm level |`number`|`75`| no |
170
171
| alarm\_memory\_threshold\_bytes | Ram threshold alarm level |`number`|`10000000`| no |
171
172
| allowed\_cidr\_blocks | List of CIDR blocks that are allowed ingress to the cluster's Security Group created in the module |`list(string)`|`[]`| no |
172
173
| allowed\_security\_groups | List of Security Group IDs that are allowed ingress to the cluster's Security Group created in the module |`list(string)`|`[]`| no |
173
174
| apply\_immediately | Apply changes immediately |`bool`|`true`| no |
174
175
| at\_rest\_encryption\_enabled | Enable encryption at rest |`bool`|`false`| no |
175
-
| attributes | Additional attributes (\_e.g.\_ "1") |`list(string)`|`[]`| no |
176
+
| attributes | Additional attributes (e.g.`1`) |`list(string)`|`[]`| no |
176
177
| auth\_token | Auth token for password protecting redis, `transit_encryption_enabled` must be set to `true`. Password must be longer than 16 chars |`string`|`null`| no |
177
178
| automatic\_failover\_enabled | Automatic failover (Not available for T1/T2 instances) |`bool`|`false`| no |
178
179
| availability\_zones | Availability zone IDs |`list(string)`|`[]`| no |
180
+
| cloudwatch\_metric\_alarms\_enabled | Boolean flag to enable/disable CloudWatch metrics alarms |`bool`|`false`| no |
179
181
| cluster\_mode\_enabled | Flag to enable/disable creation of a native redis cluster. `automatic_failover_enabled` must be set to `true`. Only 1 `cluster_mode` block is allowed |`bool`|`false`| no |
180
182
| cluster\_mode\_num\_node\_groups | Number of node groups (shards) for this Redis replication group. Changing this number will trigger an online resizing operation before other settings modifications |`number`|`0`| no |
181
183
| cluster\_mode\_replicas\_per\_node\_group | Number of replica nodes in each node group. Valid values are 0 to 5. Changing this number will force a new resource |`number`|`0`| no |
182
184
| cluster\_size | Number of nodes in cluster. \*Ignored when `cluster_mode_enabled` == `true`\*|`number`|`1`| no |
183
-
| delimiter | Delimiter between `name`, `namespace`, `stage` and `attributes`|`string`|`"-"`| no |
185
+
| context | Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. | <pre>object({<br> enabled = bool<br> namespace = string<br> environment = string<br> stage = string<br> name = string<br> delimiter = string<br> attributes = list(string)<br> tags = map(string)<br> additional_tag_map = map(string)<br> regex_replace_chars = string<br> label_order = list(string)<br> id_length_limit = number<br> })</pre> | <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_order": [],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
186
+
| delimiter | Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
184
187
| dns\_subdomain | The subdomain to use for the CNAME record. If not provided then the CNAME record will use var.name. |`string`|`""`| no |
185
188
| elasticache\_subnet\_group\_name | Subnet group name for the ElastiCache instance |`string`|`""`| no |
186
-
| enabled | Set to false to prevent the module from creating any resources |`bool`|`true`| no |
189
+
| enabled | Set to false to prevent the module from creating any resources |`bool`|`null`| no |
187
190
| engine\_version | Redis engine version |`string`|`"4.0.10"`| no |
191
+
| environment | Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
188
192
| existing\_security\_groups | List of existing Security Group IDs to place the cluster into. Set `use_existing_security_groups` to `true` to enable using `existing_security_groups` as Security Groups for the cluster |`list(string)`|`[]`| no |
189
193
| family | Redis family |`string`|`"redis4.0"`| no |
194
+
| id\_length\_limit | Limit `id` to this many characters.<br>Set to `0` for unlimited length.<br>Set to `null` for default, which is `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
190
195
| instance\_type | Elastic cache instance type |`string`|`"cache.t2.micro"`| no |
191
196
| kms\_key\_id | The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. `at_rest_encryption_enabled` must be set to `true`|`string`|`null`| no |
197
+
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
192
198
| maintenance\_window | Maintenance window |`string`|`"wed:03:00-wed:04:00"`| no |
193
-
| name |Name of the application |`string`|n/a|yes|
194
-
| namespace | Namespace (e.g. `eg` or `cp`)|`string`|`""`| no |
199
+
| name |Solution name, e.g. 'app' or 'jenkins' |`string`|`null`|no|
200
+
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp'|`string`|`null`| no |
195
201
| notification\_topic\_arn | Notification topic arn |`string`|`""`| no |
196
202
| ok\_actions | The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN) |`list(string)`|`[]`| no |
197
203
| parameter | A list of Redis parameters to apply. Note that parameters may differ from one Redis family to another | <pre>list(object({<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
198
204
| port | Redis port |`number`|`6379`| no |
205
+
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
199
206
| replication\_group\_id | Replication group ID with the following constraints: <br>A name must contain from 1 to 20 alphanumeric characters or hyphens. <br> The first character must be a letter. <br> A name cannot end with a hyphen or contain two consecutive hyphens. |`string`|`""`| no |
200
207
| snapshot\_retention\_limit | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. |`number`|`0`| no |
201
208
| snapshot\_window | The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. |`string`|`"06:30-07:30"`| no |
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
203
210
| subnets | Subnet IDs |`list(string)`|`[]`| no |
204
-
| tags | Additional tags (\_e.g.\_map("BusinessUnit","ABC")|`map(string)`|`{}`| no |
211
+
| tags | Additional tags (e.g.`map('BusinessUnit','XYZ')`|`map(string)`|`{}`| no |
205
212
| transit\_encryption\_enabled | Enable TLS |`bool`|`true`| no |
206
213
| use\_existing\_security\_groups | Flag to enable/disable creation of Security Group in the module. Set to `true` to disable Security Group creation and provide a list of existing security Group IDs in `existing_security_groups` to place the cluster into |`bool`|`false`| no |
0 commit comments