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
|[archive_file.lambdazip](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file)| data source |
120
-
|[aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones)| data source |
121
121
122
122
## Inputs
123
123
@@ -130,8 +130,11 @@ Security scanning is graciously provided by Prowler. Proowler is the leading ful
130
130
| <aname="input_allowed_security_groups"></a> [allowed\_security\_groups](#input\_allowed\_security\_groups)| A list of Security Group ID's to allow access to |`list(any)`|`[]`| no |
131
131
| <aname="input_at_rest_encryption_enabled"></a> [at\_rest\_encryption\_enabled](#input\_at\_rest\_encryption\_enabled)| (Optional) Whether to enable encryption at rest |`bool`|`true`| no |
132
132
| <aname="input_automatic_failover_enabled"></a> [automatic\_failover\_enabled](#input\_automatic\_failover\_enabled)| Enable automatic failover |`bool`|`true`| no |
133
-
| <aname="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones)| The no. of AZs |`string`|`2`| no |
133
+
| <aname="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones)| The no. of AZs |`list(string)`|`[]`| no |
134
134
| <aname="input_cloudwatch_metric_alarms_enabled"></a> [cloudwatch\_metric\_alarms\_enabled](#input\_cloudwatch\_metric\_alarms\_enabled)| Boolean flag to enable/disable CloudWatch metrics alarms |`bool`|`false`| no |
135
+
| <aname="input_cluster_mode_enabled"></a> [cluster\_mode\_enabled](#input\_cluster\_mode\_enabled)| Whether to enable/disable creation of a native redis cluster. |`bool`|`false`| no |
136
+
| <aname="input_cluster_mode_num_node_groups"></a> [cluster\_mode\_num\_node\_groups](#input\_cluster\_mode\_num\_node\_groups)| Number of node groups (shards) for this Redis replication group. |`number`|`0`| no |
137
+
| <aname="input_cluster_mode_replicas_per_node_group"></a> [cluster\_mode\_replicas\_per\_node\_group](#input\_cluster\_mode\_replicas\_per\_node\_group)| Number of replica nodes in each node group. Valid values are between 0 to 5. |`number`|`0`| no |
135
138
| <aname="input_cw_sns_topic_arn"></a> [cw\_sns\_topic\_arn](#input\_cw\_sns\_topic\_arn)| The username to use when sending notifications to Slack. |`string`|`""`| no |
136
139
| <aname="input_engine_log_destination"></a> [engine\_log\_destination](#input\_engine\_log\_destination)| The destination for engine logs(eg. Cloudwatch log-group name or kinesis firehose stream name) |`string`|`null`| no |
137
140
| <aname="input_engine_log_destination_type"></a> [engine\_log\_destination\_type](#input\_engine\_log\_destination\_type)| The type of destination for engine logs(eg . cloudwatch-logs or kinesis-firehose) |`string`|`""`| no |
@@ -148,6 +151,7 @@ Security scanning is graciously provided by Prowler. Proowler is the leading ful
148
151
| <aname="input_notification_topic_arn"></a> [notification\_topic\_arn](#input\_notification\_topic\_arn)| (Optional) ARN of an SNS topic to send ElastiCache notifications |`string`|`null`| no |
149
152
| <aname="input_num_cache_nodes"></a> [num\_cache\_nodes](#input\_num\_cache\_nodes)| The number of cache nodes |`number`|`1`| no |
150
153
| <aname="input_ok_actions"></a> [ok\_actions](#input\_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 |
154
+
| <aname="input_parameter"></a> [parameter](#input\_parameter)| A list of Redis parameters to apply. It can be different based on mode slection. | <pre>list(object({<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
151
155
| <aname="input_parameter_group_description"></a> [parameter\_group\_description](#input\_parameter\_group\_description)| Parameter group |`string`|`null`| no |
152
156
| <aname="input_port"></a> [port](#input\_port)| The redis port |`number`|`6379`| no |
153
157
| <aname="input_recovery_window_aws_secret"></a> [recovery\_window\_aws\_secret](#input\_recovery\_window\_aws\_secret)| Number of days that AWS Secrets Manager waits before it can delete the secret. This value can be 0 to force deletion without recovery or range from 7 to 30 days. |`number`|`0`| no |
@@ -170,11 +174,11 @@ Security scanning is graciously provided by Prowler. Proowler is the leading ful
170
174
|------|-------------|
171
175
| <aname="output_auth_token_password"></a> [auth\_token\_password](#output\_auth\_token\_password)| Elasticache-redis auth token password(this password may be old, because Terraform doesn't track it after initial creation) |
172
176
| <aname="output_elastic_cache_redis_cluster_id"></a> [elastic\_cache\_redis\_cluster\_id](#output\_elastic\_cache\_redis\_cluster\_id)| ID of the elasticache-redis cluster |
| <aname="output_elastic_cache_redis_port"></a> [elastic\_cache\_redis\_port](#output\_elastic\_cache\_redis\_port)| Port number of Redis |
175
178
| <aname="output_elastic_cache_redis_primary_endpoint_address"></a> [elastic\_cache\_redis\_primary\_endpoint\_address](#output\_elastic\_cache\_redis\_primary\_endpoint\_address)| Primary endpoint address of redis |
176
179
| <aname="output_elastic_cache_redis_security_group"></a> [elastic\_cache\_redis\_security\_group](#output\_elastic\_cache\_redis\_security\_group)| The security group ID of the cluster |
177
180
| <aname="output_elastic_cache_redis_subnet_group_name"></a> [elastic\_cache\_redis\_subnet\_group\_name](#output\_elastic\_cache\_redis\_subnet\_group\_name)| Subnet group name of the elasticache\_redis cluster |
181
+
| <aname="output_reader_endpoint_address"></a> [reader\_endpoint\_address](#output\_reader\_endpoint\_address)| The address of the endpoint for the reader node in the replication group, if the cluster mode is disabled. |
### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.
7
+
<br>
8
+
9
+
This example will be very useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.
10
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
| <aname="output_auth_token_password"></a> [auth\_token\_password](#output\_auth\_token\_password)| Elasticache-redis auth token password(this password may be old, because Terraform doesn't track it after initial creation) |
| <aname="output_elastic_cache_redis_security_group"></a> [elastic\_cache\_redis\_security\_group](#output\_elastic\_cache\_redis\_security\_group)| The security group ID of the cluster |
43
+
| <aname="output_id_of_redis_cluster"></a> [id\_of\_redis\_cluster](#output\_id\_of\_redis\_cluster)| ID of the elasticache-redis cluster |
44
+
| <aname="output_port_no"></a> [port\_no](#output\_port\_no)| Port number of Redis |
45
+
| <aname="output_primary_endpoint_address"></a> [primary\_endpoint\_address](#output\_primary\_endpoint\_address)| Primary endpoint address of redis |
46
+
| <aname="output_redis_subnet_group_name"></a> [redis\_subnet\_group\_name](#output\_redis\_subnet\_group\_name)| Subnet group name of the elasticache-redis cluster |
|[aws_availability_zones.primary](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones)| data source |
37
+
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
38
+
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
31
39
32
40
## Inputs
33
41
@@ -38,7 +46,7 @@ No inputs.
38
46
| Name | Description |
39
47
|------|-------------|
40
48
| <aname="output_auth_token_password"></a> [auth\_token\_password](#output\_auth\_token\_password)| Elasticache-redis auth token password(this password may be old, because Terraform doesn't track it after initial creation) |
| <aname="output_elastic_cache_redis_security_group"></a> [elastic\_cache\_redis\_security\_group](#output\_elastic\_cache\_redis\_security\_group)| The security group ID of the cluster |
43
51
| <aname="output_id_of_redis_cluster"></a> [id\_of\_redis\_cluster](#output\_id\_of\_redis\_cluster)| ID of the elasticache-redis cluster |
44
52
| <aname="output_port_no"></a> [port\_no](#output\_port\_no)| Port number of Redis |
0 commit comments