Giter VIP home page Giter VIP logo

terraform-aws-elasticache-redis's Introduction

terraform-aws-elasticache-redis

A Terraform module that represents an AWS ElastiCache Redis cluster. Note that a default security group is created and outputted that can be extended. See basic example usage below and more examples here.

Usage

provider "aws" {
  region = "us-east-1"
}

module "elasticache_redis" {
  source = "github.com/turnerlabs/terraform-aws-elasticache-redis?ref=v2.2"

  cluster_id         = "myteam-myapp-dev"
  engine_version     = "2.8.24"
  instance_type      = "cache.m3.medium"
  maintenance_window = "sun:05:00-sun:06:00"
  vpc_id             = "vpc-d070efb3"
  private_subnet_ids = "subnet-020d8b59,subnet-13f50b64"

  tag_name          = "myteam-myapp-dev"
  tag_team          = "my-team"
  tag_contact-email = "[email protected]"
  tag_application   = "my-app"
  tag_environment   = "dev"
  tag_customer      = "my-customer"
}

Variables

  • cluster_id - ID of the cluster
  • vpc_id - ID of VPC meant to house the cache
  • private_subnet_ids - Comma delimited list of private subnet IDs
  • engine_version - Cache engine version (default: 2.8.24)
  • instance_type - Instance type for cache instance (default: cache.m3.medium)
  • maintenance_window - 60 minute time window to reserve for maintenance (default: sun:05:00-sun:06:00)
  • parameter_group_name - Name of the parameter group to associate with this cache cluster (default: default.redis2.8)
  • tag_name
  • tag_environment
  • tag_team
  • tag_application
  • tag_customer
  • tag_contact-email

Outputs

  • cache_security_group_id - Security group ID of the cache cluster
  • hostname - Public DNS name of cache node
  • port - Port of cache instance
  • endpoint - Public DNS name and port separated by a :

terraform-aws-elasticache-redis's People

Contributors

jritsema avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.