A Terraform module containing Elasticache with security group, Elasticache subnet group and paramater group.
vpc_id
- VPC id. (Required)stack_name
- Stack Name. (Required)engine
- Engine type; e.g. redis or memcache. (Required)port
- Port number to use. (Required)vpc_subnets
- VPC subnets. (Required)engine_version
- Version of the Engine; e.g. for Redis 3.2.4 (Required)node_type
- Instance Type. (Required)num_cache_nodes
- How many Cache nodes; For Redis has to be 1. (Optional)
module "redis" {
source = "[email protected]:devops-israel/terraform-aws-elasticache-module.git"
vpc_id = "${var.vpc_id}"
stack_name = "${var.stack_name}"
engine = "redis"
port = "6379"
vpc_subnets = "${var.vpc_subnets_ids}"
engine_version = "3.2.4"
node_type = "cache.t2.micro"
}
Report issues/questions/feature requests on in the Issues section.
Pull requests are welcome! Ideally create a feature branch and issue for every individual change you make. These are the steps:
- Fork the repo.
- Create your feature branch from master (
git checkout -b my-new-feature
). - Commit your awesome changes (
git commit -am 'Added some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request and tell us about your changes.
Created and maintained by Josh Dvir - [email protected].