Terraform module to create AWS ElastiCache cluster for Memcached/Redis engines.
- Description
- Prerequisites
- Dependencies
- Terraform Versions
- Terraform Providers
- Getting Started
- Inputs
- Outputs
- Contributing
- License
- Acknowledgments
In order to provision this module, it is require some information from an existing resources as input parameter, those resources are:
- ElastiCache Parameter Group, input variable that require the information from this resource are,
parameter_group_name
- Security Group, input variable that require the information from this resource are,
security_group_ids
- ElastiCache Subnet Group, input variable that require the information from this resource are,
subnet_group_name
- (optional) SNS Topic, input variable that require the information from this resource are,
notification_topic_arn
Please note that some of the above resources may be optional it depends on the parameter you filled in the module input
Doesn't have any dependencies to any other Terraform module
Created and tested using Terraform version 0.12.x
Name | Version |
---|---|
aws | ~> 2.53 |
random | ~> 2.2 |
Name | Description | Type | Default |
---|---|---|---|
name | Name of elasticache engine for this cluster | string |
"" |
engine_type | Version of elasticache engine for this cluster | string |
"" |
engine_version | Version of elasticache engine for this cluster | string |
"" |
node_type | Node type for this elasticache | string |
n/a |
num_cache_nodes | Number of cache nodes for this elasticache | string |
n/a |
port | Port used for this elasticache | string |
"11211" |
az_mode | Whether to provision in single-az or cross-az | string |
n/a |
parameter_group_name | Name of the parameter group used by this elasticache cluster | string |
n/a |
subnet_group_name | Name of the subnet group this cluster resides in | string |
n/a |
apply_immediately | Whether to apply cluster changes immediately, or during maintenance window | string |
n/a |
Name | Description |
---|---|
cluster_id | The cluster identifier of this elasticache |
az_mode | The provisioning mode of this elasticache |
configuration_endpoint | The configuration endpoint of this elasticache |
endpoint | The endpoint of this elasticache |
port | Port used for this elasticache |
parameter_group_name | The parameter group used by this elasticache |
security_group_ids | The security groups attached to this elasticache |
subnet_group_name | The subnet group name where this elasticache resides in |
This module accepting or open for any contributions from anyone, please see the CONTRIBUTING.md for more detail about how to contribute to this module.
This module is under Apache License 2.0 - see the LICENSE file for details.