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
# Default port is based on the default engine port
325
+
description = "VPC traffic"
326
+
cidr_ipv4 = module.vpc.vpc_cidr_block
327
+
}
328
+
}
329
+
330
+
# Subnet Group
331
+
subnet_group_name = local.name
332
+
subnet_group_description = "Valkey replication group subnet group"
333
+
subnet_ids = module.vpc.private_subnets
334
+
335
+
# Parameter Group
336
+
create_parameter_group = true
337
+
parameter_group_name = local.name
338
+
parameter_group_family = "valkey7"
339
+
parameter_group_description = "Valkey replication group parameter group"
340
+
parameters = [
341
+
{
342
+
name = "latency-tracking"
343
+
value = "yes"
344
+
}
345
+
]
346
+
347
+
tags = local.tags
348
+
}
349
+
```
350
+
271
351
## Examples
272
352
273
353
Examples codified under the [`examples`](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples) are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!
@@ -277,21 +357,23 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module
-[Redis Global Replication Group](https://github.com/terraform-aws-modules/terraform-aws-elasticache/tree/master/examples/redis-global-replication-group)
| <aname="input_at_rest_encryption_enabled"></a> [at\_rest\_encryption\_enabled](#input\_at\_rest\_encryption\_enabled)| Whether to enable encryption at rest |`bool`|`true`| no |
323
405
| <aname="input_auth_token"></a> [auth\_token](#input\_auth\_token)| The password used to access a password protected server. Can be specified only if `transit_encryption_enabled = true`|`string`|`null`| no |
324
406
| <aname="input_auth_token_update_strategy"></a> [auth\_token\_update\_strategy](#input\_auth\_token\_update\_strategy)| Strategy to use when updating the `auth_token`. Valid values are `SET`, `ROTATE`, and `DELETE`. Defaults to `ROTATE`|`string`|`null`| no |
325
-
| <aname="input_auto_minor_version_upgrade"></a> [auto\_minor\_version\_upgrade](#input\_auto\_minor\_version\_upgrade)| Specifies whether minor version engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Only supported for engine type `redis` and if the engine version is 6 or higher. Defaults to `true`|`bool`|`null`| no |
407
+
| <aname="input_auto_minor_version_upgrade"></a> [auto\_minor\_version\_upgrade](#input\_auto\_minor\_version\_upgrade)| Specifies whether minor version engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Only supported for engine type `redis` and `valkey` and if the engine version is 6 or higher. Defaults to `true`|`bool`|`null`| no |
326
408
| <aname="input_automatic_failover_enabled"></a> [automatic\_failover\_enabled](#input\_automatic\_failover\_enabled)| Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ is disabled for this replication group. Must be enabled for Redis (cluster mode enabled) replication groups |`bool`|`null`| no |
327
409
| <aname="input_availability_zone"></a> [availability\_zone](#input\_availability\_zone)| Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use `preferred_availability_zones` instead |`string`|`null`| no |
328
410
| <aname="input_az_mode"></a> [az\_mode](#input\_az\_mode)| Whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. Valid values for this parameter are `single-az` or `cross-az`, default is `single-az`|`string`|`null`| no |
@@ -339,13 +421,13 @@ No modules.
339
421
| <aname="input_create_subnet_group"></a> [create\_subnet\_group](#input\_create\_subnet\_group)| Determines whether the Elasticache subnet group will be created or not |`bool`|`true`| no |
340
422
| <aname="input_data_tiering_enabled"></a> [data\_tiering\_enabled](#input\_data\_tiering\_enabled)| Enables data tiering. Data tiering is only supported for replication groups using the `r6gd` node type. This parameter must be set to true when using `r6gd` nodes |`bool`|`null`| no |
341
423
| <aname="input_description"></a> [description](#input\_description)| User-created description for the replication group |`string`|`null`| no |
342
-
| <aname="input_engine"></a> [engine](#input\_engine)| Name of the cache engine to be used for this cache cluster. Valid values are `memcached`or `redis`|`string`|`"redis"`| no |
424
+
| <aname="input_engine"></a> [engine](#input\_engine)| Name of the cache engine to be used for this cache cluster. Valid values are `memcached`, `redis`, or `valkey`|`string`|`"redis"`| no |
343
425
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Version number of the cache engine to be used. If not set, defaults to the latest version |`string`|`null`| no |
344
426
| <aname="input_final_snapshot_identifier"></a> [final\_snapshot\_identifier](#input\_final\_snapshot\_identifier)| (Redis only) Name of your final cluster snapshot. If omitted, no final snapshot will be made |`string`|`null`| no |
345
427
| <aname="input_global_replication_group_id"></a> [global\_replication\_group\_id](#input\_global\_replication\_group\_id)| The ID of the global replication group to which this replication group should belong |`string`|`null`| no |
346
428
| <aname="input_ip_discovery"></a> [ip\_discovery](#input\_ip\_discovery)| The IP version to advertise in the discovery protocol. Valid values are `ipv4` or `ipv6`|`string`|`null`| no |
347
429
| <aname="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn)| The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if `at_rest_encryption_enabled = true`|`string`|`null`| no |
348
-
| <aname="input_log_delivery_configuration"></a> [log\_delivery\_configuration](#input\_log\_delivery\_configuration)| (Redis only) Specifies the destination and format of Redis SLOWLOG or Redis Engine Log |`any`| <pre>{<br/> "slow-log": {<br/> "destination_type": "cloudwatch-logs",<br/> "log_format": "json"<br/> }<br/>}</pre> | no |
430
+
| <aname="input_log_delivery_configuration"></a> [log\_delivery\_configuration](#input\_log\_delivery\_configuration)| (Redis OSS or Valkey) Specifies the destination and format of Redis OSS/Valkey SLOWLOG or Redis OSS/Valkey Engine Log |`any`| <pre>{<br/> "slow-log": {<br/> "destination_type": "cloudwatch-logs",<br/> "log_format": "json"<br/> }<br/>}</pre> | no |
349
431
| <aname="input_maintenance_window"></a> [maintenance\_window](#input\_maintenance\_window)| Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC) |`string`|`null`| no |
350
432
| <aname="input_multi_az_enabled"></a> [multi\_az\_enabled](#input\_multi\_az\_enabled)| Specifies whether to enable Multi-AZ Support for the replication group. If true, `automatic_failover_enabled` must also be enabled. Defaults to `false`|`bool`|`false`| no |
351
433
| <aname="input_network_type"></a> [network\_type](#input\_network\_type)| The IP versions for cache cluster connections. Valid values are `ipv4`, `ipv6` or `dual_stack`|`string`|`null`| no |
0 commit comments