-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.yaml
More file actions
131 lines (108 loc) · 5.86 KB
/
Copy pathREADME.yaml
File metadata and controls
131 lines (108 loc) · 5.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: terraform-aws-memorydb
# Logo for this project
#logo: docs/logo.png
# License of this project
license: "APACHE2"
# Copyrights
copyrights:
- name: "Cloud Posse, LLC"
url: "https://cloudposse.com"
year: "2024"
# Canonical GitHub repo
github_repo: cloudposse/terraform-aws-memorydb
# Badges to display
badges:
- name: Latest Release
image: https://img.shields.io/github/release/cloudposse/terraform-aws-memorydb.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-aws-memorydb/releases/latest
- name: Last Updated
image: https://img.shields.io/github/last-commit/cloudposse/terraform-aws-memorydb.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-aws-memorydb/commits
- name: Slack Community
image: https://slack.cloudposse.com/for-the-badge.svg
url: https://cloudposse.com/slack
# List any related terraform modules that this module may be used with or that this module depends on.
related:
- name: terraform-null-label
description: Terraform module designed to generate consistent names and tags for resources. Use terraform-null-label to implement a strict naming convention.
url: https://github.com/cloudposse/terraform-null-label
- name: terraform-aws-security-group
description: Terraform module to create an AWS Security Group along with a set of Security Group Rules.
url: https://github.com/cloudposse/terraform-aws-security-group
# List any resources helpful for someone to get started. For example, link to the hashicorp documentation or AWS documentation.
references:
- name: Cloud Posse Documentation
url: https://docs.cloudposse.com
description: The Cloud Posse Developer Hub (documentation)
- name: AWS MemoryDB resources
url: https://aws.amazon.com/memorydb/resources
description: AWS MemoryDB resources
- name: Vector search announcement for MemoryDB
url: https://aws.amazon.com/blogs/aws/vector-search-for-amazon-memorydb-is-now-generally-available/
description: AWS announces general availability for vector search with MemoryDB
- name: Terraform Standard Module Structure
description: HashiCorp's standard module structure is a file and directory layout we recommend for reusable modules distributed in separate repositories.
url: https://www.terraform.io/docs/language/modules/develop/structure.html
- name: Terraform Module Requirements
description: HashiCorp's guidance on all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy.
url: https://www.terraform.io/docs/registry/modules/publish.html#requirements
- name: Terraform Version Pinning
description: The required_version setting can be used to constrain which versions of the Terraform CLI can be used with your configuration
url: https://www.terraform.io/docs/language/settings/index.html#specifying-a-required-terraform-version
# Short description of this project
description: |-
This module allows an engineer to provision MemoryDB clusters along with an admin user, subnet group, and parameter group. MemoryDB is a real-time in-memory database with API compatibility for Redis.
# Introduction to the project
introduction: |-
AWS MemoryDB is a fully managed, Redis-compatible, in-memory database service that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB also boasts the fastest vector search recall rates in the industry. With single-digit millisecond latency, MemoryDB can work with vector data at real-time speeds for AI models that demand performance.
# How to use this module. Should be an easy example to copy and paste.
usage: |-
For a complete example, see [the examples/complete directory](examples/complete).
For automated tests of the complete example using [Terratest](https://github.com/gruntwork-io/terratest)
(which tests and deploys the example on AWS), see [the test directory](test).
```hcl
provider "aws" {
region = "us-west-2"
}
# Create a standard label resource. See [null-label](https://github.com/cloudposse/terraform-null-label/#terraform-null-label--)
module "label" {
source = "cloudposse/label/null"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
namespace = "eg"
environment = "usw2"
stage = "sandbox"
name = "memorydb"
}
module "example" {
source = "cloudposse/memorydb/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
ssm_parameter_name = "${module.label.id}/admin_password"
context = module.label.context
}
```
# Example usage
examples: |-
Here is an example of using this module:
- [`examples/complete`](examples/complete) - complete example of using this module
# How to get started quickly
quickstart: |-
This module relies on two other AWS services:
- AWS VPC (Virtual Private Cloud)
- AWS SSM (Systems Manager)
Make sure you either have a default VPC already made or have subnet IDs for any other VPC.
At a minimum specify these variables:
- `ssm_parameter_name` - the name of the SSM parameter that stores the admin password for the MemoryDB cluster
- `subnet_ids` - required if not using a default VPC, this is a list of subnet IDs where the MemoryDB cluster will be deployed
- `security_group_ids` - required if not using default security groups, this is a list of security group IDs to attach to the MemoryDB cluster
See our [VPC module](https://github.com/cloudposse/terraform-aws-vpc) for creating a VPC.
See our [Security Group module](https://github.com/cloudposse/terraform-aws-security-group) for creating security groups.
# Other files to include in this README from the project folder
include: []
contributors: []