memory-db

clowdhaus/memory-db/aws

Terraform Module HCL AWS

Terraform module to create AWS MemoryDB resources πŸ‡ΊπŸ‡¦

Install
module "memory-db" {
source = "clowdhaus/memory-db/aws"
version = "3.0.0"
}
⭐ Source on GitHub πŸ“¦ Registry page
README

AWS MemoryDB Terraform module Terraform module which creates AWS MemoryDB resources. Usage See examples directory for working examples to reference: ``hcl module "memory_db" { source = "terraform-aws-modules/memory-db/aws" # Cluster name = "example" description = "Example MemoryDB cluster" engine_version = "6.2" auto_minor_version_upgrade = true node_type = "db.t4g.small" num_shards = 2 num_replicas_per_shard = 2 tls_enabled = true security_group_ids = ["sg-12345678"] maintenance_window = "sun:23:00-mon:01:30" sns_topic_arn = "arn:aws:sns:us-east-1:012345678910:example-topic" snapshot_retention_limit = 7 snapshot_window = "05:00-09:00" # Users users = { admin = { user_name = "admin-user" access_string = "on ~ & +@all" passwords = ["YouShouldPickAStrongSecurePassword987!"] tags = { User = "

Inputs (45)
NameTypeDescriptionDefault
acl_namestringName of ACL to be created if `create_acl` is `true`, otherwise its the name of anull
kms_key_arnstringARN of the KMS key used to encrypt the cluster at restnull
maintenance_windowstringSpecifies the weekly time range during which maintenance on the cluster is perfonull
snapshot_windowstringThe daily time range (in UTC) during which MemoryDB begins taking a daily snapshnull
data_tieringboolMust be set to `true` when using a data tiering node typenull
parameter_group_familystringThe engine version that the parameter group can be used withnull
descriptionstringDescription for the cluster. Defaults to `Managed by Terraform`null
snapshot_arnslist(string) List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapsnull
snapshot_retention_limitnumberThe number of days for which MemoryDB retains automatic snapshots before deletinnull
final_snapshot_namestringName of the final cluster snapshot to be created when this resource is deleted. null
parameter_group_namestringName of parameter group to be created if `create_parameter_group` is `true`, othnull
createboolDetermines whether resources will be created - affects all resourcestrue
tagsmap(string)A map of tags to use on all resources{}
auto_minor_version_upgradeboolWhen set to `true`, the cluster will automatically receive minor engine version null
num_shardsnumberThe number of shards in the cluster. Defaults to `1`null
security_group_idslist(string)Set of VPC Security Group ID-s to associate with this clusternull
snapshot_namestringThe name of a snapshot from which to restore data into the new clusternull
create_usersboolDetermines whether to create users specifiedtrue
acl_use_name_prefixboolDetermines whether `acl_name` is used as a prefixfalse
regionstringRegion where this resource will be managed. Defaults to the Region set in the prnull
… and 5 more inputs
Outputs (15)
subnet_group_vpc_id β€” The VPC in which the subnet group exists
cluster_arn β€” The ARN of the cluster
cluster_endpoint_address β€” DNS hostname of the cluster configuration endpoint
cluster_endpoint_port β€” Port number that the cluster configuration endpoint is listening on
cluster_engine_patch_version β€” Patch version number of the Redis engine used by the cluster
parameter_group_arn β€” The ARN of the parameter group
cluster_id β€” Cluster name
parameter_group_id β€” Name of the parameter group
cluster_shards β€” Set of shards in this cluster
users β€” Map of attributes for the users created
acl_arn β€” The ARN of the ACL
acl_minimum_engine_version β€” The minimum engine version supported by the ACL
subnet_group_arn β€” ARN of the subnet group
acl_id β€” Name of the ACL
subnet_group_id β€” Name of the subnet group
Resources (5)
aws_memorydb_aclaws_memorydb_clusteraws_memorydb_parameter_groupaws_memorydb_subnet_groupaws_memorydb_user
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.0
Cloud AWS
β˜… Stars21
Forks21
Total downloads58.2k
Inputs45
Outputs15
Resources5
Examples2
LicenseApache-2.0
Namespaceclowdhaus
Updated