ElastiCache Module¶
Source: tofu/modules/elasticache
Creates a Redis replication group with encryption at rest and in transit.
Inputs¶
| Variable | Type | Description |
|---|---|---|
name |
string | Name prefix |
vpc_id |
string | VPC ID |
subnet_ids |
list(string) | Subnet IDs |
kms_key_arn |
string | KMS key for at-rest encryption |
app_security_group_ids |
list(string) | SGs allowed on 6379 |
num_cache_clusters |
number | Number of nodes (1=single, 2=Multi-AZ) |
node_type |
string | Node type (e.g. cache.t3.micro) |
transit_encryption_enabled |
bool | Enable TLS |
snapshot_retention_limit |
number | Days to retain snapshots |
tags |
map(string) | Resource tags |
Outputs¶
| Output | Description |
|---|---|
primary_endpoint |
Primary endpoint address |
connection_url |
Full rediss:// connection URL |