Creates an Elasticache Redis cluster
| Name |
Version |
| aws |
>= 2.40.0 |
No modules.
| Name |
Description |
Type |
Default |
Required |
| create |
Should resources be created |
bool |
true |
no |
| environment |
Kebab-cased environment name, eg. development, staging, production |
string |
n/a |
yes |
| id |
Elasticache cluster id, defaults to project-environment, 1 to 20 alphanumeric characters or hyphens |
string |
null |
no |
| instance_count |
Number of instances to create in the cluster |
number |
1 |
no |
| instance_type |
The instance type of the Elasticache cluster, eg. cache.t2.micro |
string |
n/a |
yes |
| parameter_group_name |
Elasticache parameter group, needs to be adjusted along with the version |
string |
"default.redis5.0" |
no |
| port |
The port on which Redis should accept connections |
number |
6379 |
no |
| project |
Kebab-cased project name |
string |
n/a |
yes |
| redis_version |
Elasticache Redis engine version |
string |
"5.0.3" |
no |
| security_group_ids |
Security group ids which should have access to Redis |
list(string) |
[] |
no |
| subnet_ids |
VPC subnet IDs in which Redis should be created |
list(string) |
n/a |
yes |
| tags |
Tags to add to resources that support them |
map(string) |
{} |
no |
| vpc_id |
VPC ID in which Redis should be created |
string |
n/a |
yes |
| Name |
Description |
| host |
First Redis instance host |
| hosts |
Redis hosts |
| port |
Redis port |
| url |
First Redis instance connection url |
| urls |
Redis connection urls |