alias |
The display name of the alias. The name must start with the word alias followed by a forward slash. |
string |
"alias/redis" |
no |
allowed_ip |
List of allowed ip. |
list(any) |
[] |
no |
allowed_ports |
List of allowed ingress ports |
list(any) |
[] |
no |
auth_token |
The password used to access a password protected server. Can be specified only if transit_encryption_enabled = true. Find auto generated auth_token in terraform.tfstate or in AWS SSM Parameter Store. |
string |
null |
no |
auth_token_enable |
Flag to specify whether to create auth token (password) protected cluster. Can be specified only if transit_encryption_enabled = true. |
bool |
true |
no |
availability_zones |
A list of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is not important. |
list(string) |
n/a |
yes |
az_mode |
(Memcached only) Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. Valid values for this parameter are single-az or cross-az, default is single-az. If you want to choose cross-az, num_cache_nodes must be greater than 1. |
string |
"single-az" |
no |
cluster_enabled |
(Memcache only) Enabled or disabled cluster. |
bool |
false |
no |
cluster_replication_enabled |
(Redis only) Enabled or disabled replication_group for redis cluster. |
bool |
false |
no |
customer_master_key_spec |
Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC_DEFAULT, RSA_2048, RSA_3072, RSA_4096, ECC_NIST_P256, ECC_NIST_P384, ECC_NIST_P521, or ECC_SECG_P256K1. Defaults to SYMMETRIC_DEFAULT. |
string |
"SYMMETRIC_DEFAULT" |
no |
deletion_window_in_days |
Duration in days after which the key is deleted after destruction of the resource. |
number |
7 |
no |
egress_rule |
Enable to create egress rule |
bool |
true |
no |
enable |
Enable or disable of elasticache |
bool |
true |
no |
enable_key_rotation |
Specifies whether key rotation is enabled. |
string |
true |
no |
enable_security_group |
Enable default Security Group with only Egress traffic allowed. |
bool |
true |
no |
environment |
Environment (e.g. prod , dev , staging ). |
string |
"" |
no |
extra_tags |
Additional tags (e.g. map(BusinessUnit ,XYZ ). |
map(string) |
{} |
no |
is_enabled |
Specifies whether the key is enabled. |
bool |
true |
no |
is_external |
enable to udated existing security Group |
bool |
false |
no |
key_usage |
Specifies the intended use of the key. Defaults to ENCRYPT_DECRYPT, and only symmetric encryption and decryption are supported. |
string |
"ENCRYPT_DECRYPT" |
no |
kms_description |
The description of the key as viewed in AWS console. |
string |
"Parameter Store KMS master key" |
no |
kms_key_enabled |
Specifies whether the kms is enabled or disabled. |
bool |
true |
no |
kms_key_id |
The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if at_rest_encryption_enabled = true. |
string |
"" |
no |
kms_multi_region |
Indicates whether the KMS key is a multi-Region (true) or regional (false) key. |
bool |
false |
no |
label_order |
Label order, e.g. name ,application . |
list(any) |
[ "environment", "name" ] |
no |
length |
n/a |
number |
25 |
no |
log_delivery_configuration |
The log_delivery_configuration block allows the streaming of Redis SLOWLOG or Redis Engine Log to CloudWatch Logs or Kinesis Data Firehose. Max of 2 blocks. |
list(map(any)) |
[] |
no |
managedby |
ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. |
string |
"[email protected]" |
no |
memcached_route53_record_enabled |
Whether to create Route53 record memcached set. |
bool |
false |
no |
memcached_ssm_parameter_endpoint_enabled |
Name of the parameter. |
bool |
false |
no |
name |
Name (e.g. app or cluster ). |
string |
"" |
no |
network_type |
value of the network type. Valid values are ipv4, ipv6 or dual_stack. |
string |
"ipv4" |
no |
num_cache_nodes |
(Required unless replication_group_id is provided) The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed. |
number |
1 |
no |
protocol |
The protocol. If not icmp, tcp, udp, or all use the. |
string |
"tcp" |
no |
replication_group |
n/a |
map(any) |
{} |
no |
repository |
Terraform current module repo |
string |
"https://github.com/clouddrove/terraform-aws-elasticache" |
no |
retention_in_days |
Specifies the number of days you want to retain log events in the specified log group. |
number |
0 |
no |
route53 |
Route53 Configurations. |
map(any) |
{} |
no |
route53_record_enabled |
Whether to create Route53 record set. |
bool |
false |
no |
security_group_names |
A list of cache security group names to associate with this replication group. |
list(string) |
null |
no |
sg_description |
The security group description. |
string |
"Instance default security group (only egress access is allowed)." |
no |
sg_egress_description |
Description of the egress and ingress rule |
string |
"Description of the rule." |
no |
sg_egress_ipv6_description |
Description of the egress_ipv6 rule |
string |
"Description of the rule." |
no |
sg_ids |
of the security group id. |
list(any) |
[] |
no |
sg_ingress_description |
Description of the ingress rule |
string |
"Description of the ingress rule use elasticache." |
no |
snapshot_arns |
A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. |
list(string) |
null |
no |
special |
n/a |
bool |
false |
no |
ssm_parameter_description |
SSM Parameters can be imported using. |
string |
"Description of the parameter." |
no |
ssm_parameter_endpoint_enabled |
Name of the parameter. |
bool |
false |
no |
ssm_parameter_type |
Type of the parameter. |
string |
"SecureString" |
no |
subnet_group_description |
Description for the cache subnet group. Defaults to Managed by Terraform . |
string |
"The Description of the ElastiCache Subnet Group." |
no |
subnet_ids |
List of VPC Subnet IDs for the cache subnet group. |
list(any) |
[] |
no |
user_group_ids |
User Group ID to associate with the replication group. |
list(string) |
null |
no |
vpc_id |
The ID of the VPC that the instance security group belongs to. |
string |
"" |
no |