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
List of CIDR blocks that can access the Redis cluster
list(string)
-
subnet_ids
List of VPC Subnet IDs for the cache subnet group
list(string)
-
Optional Variables
Name
Description
Type
Default
node_type
The compute and memory capacity of the nodes
string
"cache.r7g.large"
tags
A map of tags to add to all resources
map(string)
{}
Outputs
Name
Description
cluster_id
The ID of the ElastiCache cluster
cluster_address
The DNS name of the cache cluster
endpoint
The endpoint URL for the Redis cluster
security_group_id
The ID of the security group created for Redis
subnet_group_name
The name of the cache subnet group
Security Considerations
By default, the security group only allows inbound access on port 6379 from the specified CIDR blocks. It's strongly recommended to restrict this to your VPC CIDR or specific application subnets in production environments.
The module uses a single-node configuration for simplicity and cost-effectiveness.
Redis AUTH is not enabled by default. Consider enabling it for production deployments.
The module uses the default Redis 7.1 parameter group which includes recommended security settings.
Technical Details
Redis version 7.1 is used by default
Uses the default Redis 7.1 parameter group
Single node configuration (non-clustered mode)
Default Redis port (6379) is used
Automatic backup is not enabled (in-memory cache)
Maintenance window uses AWS default scheduling
Cluster ID is automatically generated with a 'redis-' prefix