MemoryDB
Terraform module to create AWS MemoryDB resources
Inputs
40 / 47
acl_nameoptionalstringName of ACL to be created if `create_acl` is `true`, otherwise its the name of an existing ACL to use if `create_acl` is `false`
nullacl_tagsoptionalmap(string)Additional tags for the ACL created
{}acl_use_name_prefixoptionalboolDetermines whether `acl_name` is used as a prefix
falseacl_user_namesoptionallist(string)List of externally created user names to associate with the ACL
[]auto_minor_version_upgradeoptionalboolWhen set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`
nullcreateoptionalboolDetermines whether resources will be created - affects all resources
truecreate_acloptionalboolDetermines whether to create ACL specified
truecreate_parameter_groupoptionalboolDetermines whether to create parameter group specified
truecreate_subnet_groupoptionalboolDetermines whether to create subnet group specified
truecreate_usersoptionalboolDetermines whether to create users specified
truedata_tieringoptionalboolMust be set to `true` when using a data tiering node type
nulldescriptionoptionalstringDescription for the cluster. Defaults to `Managed by Terraform`
nullengineoptionalstringThe engine that will run on your nodes. Supported values are `redis` and `valkey`
nullengine_versionoptionalstringVersion number of the engine to be used for the cluster. Downgrades are not supported
nullfinal_snapshot_nameoptionalstringName of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made
nullip_discoveryoptionalstringMechanism that the cluster uses to discover IP addresses. Valid values are ipv4 and ipv6. Defaults to ipv4. To specify ipv6, network_type must be ipv6 or dual_stack
nullkms_key_arnoptionalstringARN of the KMS key used to encrypt the cluster at rest
nullmaintenance_windowoptionalstringSpecifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format `ddd:hh24:mi-ddd:hh24:mi`
nullmulti_region_cluster_nameoptionalstringThe multi region cluster identifier if part of a multi region cluster
nullnameoptionalstringCluster name - also default name used on all resources if more specific resource names are not provided
""network_typeoptionalstringIP address type for the cluster. Valid values are ipv4, ipv6 and dual_stack. Defaults to ipv4
nullnode_typeoptionalstringThe compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.htm…
nullnum_replicas_per_shardoptionalnumberThe number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard)
nullnum_shardsoptionalnumberThe number of shards in the cluster. Defaults to `1`
nullparameter_group_descriptionoptionalstringDescription for the parameter group. Defaults to `Managed by Terraform`
nullparameter_group_familyoptionalstringThe engine version that the parameter group can be used with
nullparameter_group_nameoptionalstringName of parameter group to be created if `create_parameter_group` is `true`, otherwise its the name of an existing parameter group to use if `create_parameter_group` is `false`
nullparameter_group_parametersoptionallist(map(string))A list of parameter maps to apply
[]parameter_group_tagsoptionalmap(string)Additional tags for the parameter group created
{}parameter_group_use_name_prefixoptionalboolDetermines whether `parameter_group_name` is used as a prefix
falseportoptionalnumberThe port number on which each of the nodes accepts connections. Defaults to `6379`
nullregionoptionalstringRegion where this resource will be managed. Defaults to the Region set in the provider configuration
nullsecurity_group_idsoptionallist(string)Set of VPC Security Group ID-s to associate with this cluster
nullsnapshot_arnsoptionallist(string)List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster
nullsnapshot_nameoptionalstringThe name of a snapshot from which to restore data into the new cluster
nullsnapshot_retention_limitoptionalnumberThe number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`
nullsnapshot_windowoptionalstringThe daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`
nullsns_topic_arnoptionalstringARN of the SNS topic to which cluster notifications are sent
nullsubnet_group_descriptionoptionalstringDescription for the subnet group. Defaults to `Managed by Terraform`
nullsubnet_group_nameoptionalstringName of subnet group to be created if `create_subnet_group` is `true`, otherwise its the name of an existing subnet group to use if `create_subnet_group` is `false`
nullAll 47 are optional — the module deploys with none of them set. Showing 40, so the site stays a static download — the remaining 7 are in the source.
Outputs
15
acl_arnThe ARN of the ACL
acl_idName of the ACL
acl_minimum_engine_versionThe minimum engine version supported by the ACL
cluster_arnThe ARN of the cluster
cluster_endpoint_addressDNS hostname of the cluster configuration endpoint
cluster_endpoint_portPort number that the cluster configuration endpoint is listening on
cluster_engine_patch_versionPatch version number of the Redis engine used by the cluster
cluster_idCluster name
cluster_shardsSet of shards in this cluster
parameter_group_arnThe ARN of the parameter group
parameter_group_idName of the parameter group
subnet_group_arnARN of the subnet group
subnet_group_idName of the subnet group
subnet_group_vpc_idThe VPC in which the subnet group exists
usersMap of attributes for the users created
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.