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
| <aname="input_create"></a> [create](#input\_create)| Determines whether resources will be created (affects all resources) |`bool`|`true`| no |
51
-
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
55
+
| <aname="input_apply_immediately"></a> [apply\_immediately](#input\_apply\_immediately)| Specifies whether any modifications are applied immediately, or during the next maintenance window |`bool`|`false`| no |
56
+
| <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 |
57
+
| <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 |
58
+
| <aname="input_auto_minor_version_upgrade"></a> [auto\_minor\_version\_upgrade](#input\_auto\_minor\_version\_upgrade)| Specifies whether a minor engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window |`bool`|`true`| no |
59
+
| <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`|`true`| no |
60
+
| <aname="input_availability_zone"></a> [availability\_zone](#input\_availability\_zone)| The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use preferred\_availability\_zones instead. Default: System chosen Availability Zone |`string`|`null`| no |
61
+
| <aname="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones)| A list of EC2 availability zones in which the replication group's cache clusters will be created |`list(string)`|`[]`| no |
62
+
| <aname="input_az_mode"></a> [az\_mode](#input\_az\_mode)| Specifies 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. If you want to choose cross-az, num\_cache\_nodes must be greater than 1 |`string`|`null`| no |
63
+
| <aname="input_cluster_id"></a> [cluster\_id](#input\_cluster\_id)| Group identifier. ElastiCache converts this name to lowercase |`string`|`null`| no |
64
+
| <aname="input_cluster_mode"></a> [cluster\_mode](#input\_cluster\_mode)| Create a native redis cluster. automatic\_failover\_enabled must be set to true. Cluster Mode documented below. Only 1 cluster\_mode block is allowed |`list(map(string))`|`[]`| no |
65
+
| <aname="input_create_parameter_group"></a> [create\_parameter\_group](#input\_create\_parameter\_group)| Determines whether the ElastiCache parameter group will be created or not |`bool`|`false`| no |
66
+
| <aname="input_create_replication_group"></a> [create\_replication\_group](#input\_create\_replication\_group)| Determines whether an ElastiCache replication group will be created or not |`bool`|`false`| no |
67
+
| <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`|`false`| no |
68
+
| <aname="input_engine"></a> [engine](#input\_engine)| The name of the cache engine to be used. e.g. `redis`|`string`|`null`| no |
69
+
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| The version number of the cache engine to be used |`string`|`null`| no |
70
+
| <aname="input_identifier"></a> [identifier](#input\_identifier)| The identifier of the resource |`string`|`""`| no |
71
+
| <aname="input_kms_key_id"></a> [kms\_key\_id](#input\_kms\_key\_id)| 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 |
72
+
| <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). The minimum maintenance window is a 60 minute period. Example: sun:05:00-sun:09:00 |`string`|`null`| no |
73
+
| <aname="input_node_type"></a> [node\_type](#input\_node\_type)| The compute and memory capacity of the nodes in the node group |`string`| n/a | yes |
74
+
| <aname="input_notification_topic_arn"></a> [notification\_topic\_arn](#input\_notification\_topic\_arn)| An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example: arn:aws:sns:us-east-1:012345678999:my\_sns\_topic |`string`|`null`| no |
75
+
| <aname="input_num_cache_nodes"></a> [num\_cache\_nodes](#input\_num\_cache\_nodes)| (Required unless replication\_group\_id is provided) The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed |`number`|`null`| no |
76
+
| <aname="input_number_cache_clusters"></a> [number\_cache\_clusters](#input\_number\_cache\_clusters)| (Required for Cluster Mode Disabled) The number of cache clusters (primary and replicas) this replication group will have. If Multi-AZ is enabled, the value of this parameter must be at least 2. Updates will occur before other modifications |`number`|`null`| no |
77
+
| <aname="input_parameter_group_description"></a> [parameter\_group\_description](#input\_parameter\_group\_description)| Description for the ElastiCache parameter group |`string`|`""`| no |
78
+
| <aname="input_parameter_group_family"></a> [parameter\_group\_family](#input\_parameter\_group\_family)| The family of the ElastiCache parameter group |`string`|`null`| no |
79
+
| <aname="input_parameter_group_name"></a> [parameter\_group\_name](#input\_parameter\_group\_name)| The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used |`string`|`null`| no |
80
+
| <aname="input_parameters"></a> [parameters](#input\_parameters)| List of ElastiCache parameters to apply |`list(map(string))`|`[]`| no |
81
+
| <aname="input_port"></a> [port](#input\_port)| The port number on which each of the cache nodes will accept connections. |`number`|`null`| no |
82
+
| <aname="input_preferred_availability_zones"></a> [preferred\_availability\_zones](#input\_preferred\_availability\_zones)| A list of the Availability Zones in which cache nodes are created. If you are creating your cluster in an Amazon VPC you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of num\_cache\_nodes. If you want all the nodes in the same Availability Zone, use availability\_zone instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones. Detecting drift of existing node availability zone is not currently supported. Updating this argument by itself to migrate existing node availability zones is not currently supported and will show a perpetual difference |`list(string)`|`[]`| no |
83
+
| <aname="input_replication_group_description"></a> [replication\_group\_description](#input\_replication\_group\_description)| A user-created description for the replication group |`string`|`null`| no |
84
+
| <aname="input_replication_group_id"></a> [replication\_group\_id](#input\_replication\_group\_id)| The replication group identifier. This parameter is stored as a lowercase string |`string`|`null`| no |
85
+
| <aname="input_security_group_ids"></a> [security\_group\_ids](#input\_security\_group\_ids)| One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud |`list(string)`|`[]`| no |
86
+
| <aname="input_security_group_names"></a> [security\_group\_names](#input\_security\_group\_names)| A list of cache security group names to associate with this replication group |`list(string)`|`[]`| no |
87
+
| <aname="input_snapshot_arns"></a> [snapshot\_arns](#input\_snapshot\_arns)| A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example: arn:aws:s3:::my\_bucket/snapshot1.rdb |`list(string)`|`[]`| no |
88
+
| <aname="input_snapshot_name"></a> [snapshot\_name](#input\_snapshot\_name)| The name of a snapshot from which to restore data into the new node group. Changing the snapshot\_name forces a new resource |`string`|`null`| no |
89
+
| <aname="input_snapshot_retention_limit"></a> [snapshot\_retention\_limit](#input\_snapshot\_retention\_limit)| The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a snapshot\_retention\_limit is not supported on cache.t1.micro or cache.t2.* cache nodes |`number`|`null`| no |
90
+
| <aname="input_snapshot_window"></a> [snapshot\_window](#input\_snapshot\_window)| The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: 05:00-09:00 |`string`|`null`| no |
91
+
| <aname="input_subnet_group_description"></a> [subnet\_group\_description](#input\_subnet\_group\_description)| Description for the Elasticache subnet group |`string`|`null`| no |
92
+
| <aname="input_subnet_group_name"></a> [subnet\_group\_name](#input\_subnet\_group\_name)| The name of the cache subnet group to be used for the replication group |`string`|`null`| no |
93
+
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| List of VPC Subnet IDs for the Elasticache subnet group |`list(string)`|`[]`| no |
94
+
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to assign to the resource |`map(any)`|`{}`| no |
95
+
| <aname="input_transit_encryption_enabled"></a> [transit\_encryption\_enabled](#input\_transit\_encryption\_enabled)| Whether to enable encryption in transit |`bool`|`false`| no |
52
96
53
97
## Outputs
54
98
55
-
No outputs.
99
+
| Name | Description |
100
+
|------|-------------|
101
+
| <aname="output_cluster_address"></a> [cluster\_address](#output\_cluster\_address)| The DNS name of the cache cluster without the port appended |
102
+
| <aname="output_cluster_cache_nodes"></a> [cluster\_cache\_nodes](#output\_cluster\_cache\_nodes)| List of node objects including id, address, port and availability\_zone |
103
+
| <aname="output_cluster_configuration_endpoint"></a> [cluster\_configuration\_endpoint](#output\_cluster\_configuration\_endpoint)| The configuration endpoint to allow host discovery |
104
+
| <aname="output_parameter_group_id"></a> [parameter\_group\_id](#output\_parameter\_group\_id)| The ElastiCache parameter group id |
105
+
| <aname="output_parameter_group_name"></a> [parameter\_group\_name](#output\_parameter\_group\_name)| The ElastiCache parameter group name |
106
+
| <aname="output_replication_group_configuration_endpoint_address"></a> [replication\_group\_configuration\_endpoint\_address](#output\_replication\_group\_configuration\_endpoint\_address)| The address of the replication group configuration endpoint when cluster mode is enabled |
107
+
| <aname="output_replication_group_id"></a> [replication\_group\_id](#output\_replication\_group\_id)| The ID of the ElastiCache Replication Group |
108
+
| <aname="output_replication_group_member_clusters"></a> [replication\_group\_member\_clusters](#output\_replication\_group\_member\_clusters)| The identifiers of all the nodes that are part of this replication group. |
109
+
| <aname="output_replication_group_primary_endpoint_address"></a> [replication\_group\_primary\_endpoint\_address](#output\_replication\_group\_primary\_endpoint\_address)| The address of the endpoint for the primary node in the replication group, if the cluster mode is disabled |
110
+
| <aname="output_subnet_group_ids"></a> [subnet\_group\_ids](#output\_subnet\_group\_ids)| The ElastiCache subnet group IDs |
111
+
| <aname="output_subnet_group_name"></a> [subnet\_group\_name](#output\_subnet\_group\_name)| The ElastiCache subnet group name |
0 commit comments