Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Elasticache Redis

Creates an Elasticache Redis cluster

Requirements

Name Version
terraform >= 0.12, <2.0
aws >= 2.40.0

Providers

Name Version
aws >= 2.40.0

Modules

No modules.

Resources

Name Type
aws_elasticache_cluster.cache resource
aws_elasticache_subnet_group.cache resource
aws_security_group.cache resource
aws_security_group_rule.private resource

Inputs

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

Outputs

Name Description
host First Redis instance host
hosts Redis hosts
port Redis port
url First Redis instance connection url
urls Redis connection urls