{"id":19978308,"url":"https://github.com/geekcell/terraform-aws-memorydb-cluster","last_synced_at":"2025-07-19T01:04:49.018Z","repository":{"id":150854608,"uuid":"598554836","full_name":"geekcell/terraform-aws-memorydb-cluster","owner":"geekcell","description":"Terraform module to provision an AWS MemoryDB Cluster.","archived":false,"fork":false,"pushed_at":"2023-06-28T12:47:12.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-18T18:48:58.895Z","etag":null,"topics":["aws","database","memorydb","memorydb-cluster","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://www.geekcell.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geekcell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T10:58:09.000Z","updated_at":"2023-05-11T12:56:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2df9aadd-cb45-4a25-ad91-8611ef72643e","html_url":"https://github.com/geekcell/terraform-aws-memorydb-cluster","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"geekcell/terraform-aws-module-template","purl":"pkg:github/geekcell/terraform-aws-memorydb-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-memorydb-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-memorydb-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-memorydb-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-memorydb-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekcell","download_url":"https://codeload.github.com/geekcell/terraform-aws-memorydb-cluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-memorydb-cluster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265866307,"owners_count":23840939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","database","memorydb","memorydb-cluster","terraform","terraform-module"],"created_at":"2024-11-13T03:32:39.119Z","updated_at":"2025-07-19T01:04:48.988Z","avatar_url":"https://github.com/geekcell.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n[![Geek Cell GmbH](https://raw.githubusercontent.com/geekcell/.github/main/geekcell-github-banner.png)](https://www.geekcell.io/)\n\n### Code Quality\n[![License](https://img.shields.io/github/license/geekcell/terraform-aws-memorydb-cluster)](https://github.com/geekcell/terraform-aws-memorydb-cluster/blob/master/LICENSE)\n[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-memorydb-cluster?logo=github\u0026sort=semver)](https://github.com/geekcell/terraform-aws-memorydb-cluster/releases)\n[![Release](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/release.yaml)\n[![Validate](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/validate.yaml)\n[![Lint](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-memorydb-cluster/actions/workflows/linter.yaml)\n\n\u003c!--\nComment in if Bridgecrew is configured\n\n### Security\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/general)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=INFRASTRUCTURE+SECURITY)\n\n#### Cloud\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+AWS+V1.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+AWS+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+AZURE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+AZURE+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+GCP+V1.1)\n\n##### Container\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+KUBERNETES+V1.6)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+EKS+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+GKE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=CIS+KUBERNETES+V1.5)\n\n#### Data protection\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=SOC2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=PCI-DSS+V3.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=PCI-DSS+V3.2.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=ISO27001)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=NIST-800-53)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=HIPAA)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-memorydb-cluster/fedramp_moderate)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-memorydb-cluster\u0026benchmark=FEDRAMP+%28MODERATE%29)\n\n--\u003e\n\n# Terraform AWS MemoryDB Cluster\n\nTerraform module which creates a MemoryDB Cluster. The focus on this module lies within it's simplicity by providing\ndefault values that should make sense for most use cases.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_auto_minor_version_upgrade\"\u003e\u003c/a\u003e [auto\\_minor\\_version\\_upgrade](#input\\_auto\\_minor\\_version\\_upgrade) | When set to true, the cluster will automatically receive minor engine version upgrades after launch. | `bool` | `true` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Description for the cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_engine_version\"\u003e\u003c/a\u003e [engine\\_version](#input\\_engine\\_version) | Version number of the Redis engine to be used for the cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_maintenance_window\"\u003e\u003c/a\u003e [maintenance\\_window](#input\\_maintenance\\_window) | Specifies the weekly time range during which maintenance on the cluster is performed. | `string` | `\"sun:23:00-mon:01:30\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of the cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_node_type\"\u003e\u003c/a\u003e [node\\_type](#input\\_node\\_type) | The compute and memory capacity of the nodes in the cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_num_replicas_per_shard\"\u003e\u003c/a\u003e [num\\_replicas\\_per\\_shard](#input\\_num\\_replicas\\_per\\_shard) | The number of replicas to apply to each shard. | `number` | n/a | yes |\n| \u003ca name=\"input_num_shards\"\u003e\u003c/a\u003e [num\\_shards](#input\\_num\\_shards) | The number of shards in the cluster. | `number` | n/a | yes |\n| \u003ca name=\"input_parameters\"\u003e\u003c/a\u003e [parameters](#input\\_parameters) | A list of parameters to apply to the cluster. | \u003cpre\u003elist(object({\u003cbr\u003e    name  = string\u003cbr\u003e    value = string\u003cbr\u003e  }))\u003c/pre\u003e | \u003cpre\u003e[\u003cbr\u003e  {\u003cbr\u003e    \"name\": \"activedefrag\",\u003cbr\u003e    \"value\": \"yes\"\u003cbr\u003e  }\u003cbr\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_port\"\u003e\u003c/a\u003e [port](#input\\_port) | The port number on which each of the nodes accepts connections. | `number` | `6379` | no |\n| \u003ca name=\"input_recipients\"\u003e\u003c/a\u003e [recipients](#input\\_recipients) | List of email addresses to notify when the cluster is in an unhealthy state. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_security_group_ids\"\u003e\u003c/a\u003e [security\\_group\\_ids](#input\\_security\\_group\\_ids) | Set of VPC Security Group ID-s to associate with this cluster. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_snapshot_retention_limit\"\u003e\u003c/a\u003e [snapshot\\_retention\\_limit](#input\\_snapshot\\_retention\\_limit) | The number of days for which MemoryDB retains automatic snapshots before deleting them. | `number` | `0` | no |\n| \u003ca name=\"input_snapshot_window\"\u003e\u003c/a\u003e [snapshot\\_window](#input\\_snapshot\\_window) | The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. | `string` | `\"05:00-09:00\"` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | List of VPC subnet ID-s to associate with this cluster. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to add to the AWS Customer Managed Key. | `map(any)` | `{}` | no |\n| \u003ca name=\"input_tls_enabled\"\u003e\u003c/a\u003e [tls\\_enabled](#input\\_tls\\_enabled) | A flag to enable in-transit encryption on the cluster. | `bool` | `true` | no |\n| \u003ca name=\"input_users\"\u003e\u003c/a\u003e [users](#input\\_users) | A map of users to create in the cluster. | \u003cpre\u003emap(\u003cbr\u003e    object(\u003cbr\u003e      {\u003cbr\u003e        access_string = string,\u003cbr\u003e        tags          = map(string)\u003cbr\u003e      }\u003cbr\u003e    )\u003cbr\u003e  )\u003c/pre\u003e | \u003cpre\u003e{\u003cbr\u003e  \"admin\": {\u003cbr\u003e    \"access_string\": \"on ~* \u0026* +@all\",\u003cbr\u003e    \"tags\": {\u003cbr\u003e      \"user\": \"admin\"\u003cbr\u003e    }\u003cbr\u003e  },\u003cbr\u003e  \"readonly\": {\u003cbr\u003e    \"access_string\": \"on ~* \u0026* -@all +@read\",\u003cbr\u003e    \"tags\": {\u003cbr\u003e      \"user\": \"readonly\"\u003cbr\u003e    }\u003cbr\u003e  }\u003cbr\u003e}\u003c/pre\u003e | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The ARN of the cluster. |\n| \u003ca name=\"output_cluster_endpoint_address\"\u003e\u003c/a\u003e [cluster\\_endpoint\\_address](#output\\_cluster\\_endpoint\\_address) | DNS hostname of the cluster configuration endpoint. |\n| \u003ca name=\"output_cluster_endpoint_port\"\u003e\u003c/a\u003e [cluster\\_endpoint\\_port](#output\\_cluster\\_endpoint\\_port) | Port number that the cluster configuration endpoint is listening on. |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the Memory DB Cluster. |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 4.36 |\n\n## Resources\n\n- resource.aws_memorydb_cluster.main (main.tf#7)\n\n# Examples\n### Full\n```hcl\nmodule \"basic-example\" {\n  source = \"../../\"\n\n  description            = \"PHP Sessions\"\n  engine_version         = \"6.2\"\n  name                   = \"session\"\n  node_type              = \"db.t4g.small\"\n  num_replicas_per_shard = 0\n  num_shards             = 1\n  security_group_ids     = [\"sg-123456789\"]\n  subnet_ids             = [\"subnet-123456789\", \"subnet-987654321\"]\n}\n```\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-memorydb-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekcell%2Fterraform-aws-memorydb-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-memorydb-cluster/lists"}