Skip to content

mondorobot/terraform-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Terraform Redis Module

Overview:

This Terraform module launches and configures a redis cluster.


Required Inputs:

  • cluster_name - name of cluster. Should contain only lower case letters and '-'
  • security_group_ids - comma seperated list of security group ids which are allowed to * access this Redis cluster
  • subnet_ids - comma seperated list of subnet ids available to this Redis cluster
  • vpc_id - VPC id for this Redis cluster

Optional Inputs:

  • node_type - type of node to use. defaults to cache.m1.small
  • port - port to run on. defaults to 6379
  • count - number of nodes in the cluster. defaults to 1

Module Outputs:

  • url - url for the Redis cluster
  • port - port the Redis cluster is configured on
  • security_group_id - security group assigned to the cluster

Examples:

module "redis" {
  source = "github.com/mondorobot/terraform-redis"

  cluster_name = "redis-cluster-name"
  security_group_ids = "security_group_id_with_redis_access"
  subnet_ids = "subnet_id"
  vpc_id = "vpc_id"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages