https://github.com/wearetechnative/terraform-aws-elasticache
AWS Elasticache module for Terraform
https://github.com/wearetechnative/terraform-aws-elasticache
Last synced: 2 months ago
JSON representation
AWS Elasticache module for Terraform
- Host: GitHub
- URL: https://github.com/wearetechnative/terraform-aws-elasticache
- Owner: wearetechnative
- License: apache-2.0
- Created: 2023-11-07T12:56:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-02T11:23:20.000Z (7 months ago)
- Last Synced: 2025-12-05T07:59:45.058Z (7 months ago)
- Language: HCL
- Size: 172 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform AWS [terraform-aws-elasticache] 
This module implements ...
[](https://www.technative.nl)
## How does it work
### First use after you clone this repository or when .pre-commit-config.yaml is updated
Run `pre-commit install` to install any guardrails implemented using pre-commit.
See [pre-commit installation](https://pre-commit.com/#install) on how to install pre-commit.
...
## Usage
To use this module ...
```hcl
{
some_conf = "might need explanation"
}
```
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | >=4.8.0 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_elasticache_cluster.elasticache](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster) | resource |
| [aws_elasticache_parameter_group.elasticache_parameters](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_parameter_group) | resource |
| [aws_elasticache_replication_group.redis_replication_cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_replication_group) | resource |
| [aws_elasticache_subnet_group.elasticache_subnet_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_subnet_group) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [additional\_tags](#input\_additional\_tags) | Additional tags to be added to resources. | `map(string)` | `{}` | no |
| [cluster\_name](#input\_cluster\_name) | Cluster identifier. | `string` | n/a | yes |
| [engine](#input\_engine) | Choose between redis or memcached engine types | `string` | n/a | yes |
| [engine\_version](#input\_engine\_version) | Version number of the cache engine to be used. If not set, defaults to the latest version. | `string` | n/a | yes |
| [multi\_az\_mode](#input\_multi\_az\_mode) | Whether Redis nodes are created in a single AZ or created across multiple AZ. | `bool` | n/a | yes |
| [node\_type](#input\_node\_type) | The instance class used. | `string` | n/a | yes |
| [num\_cache\_nodes](#input\_num\_cache\_nodes) | The initial number of cache nodes that the cache cluster will have. | `number` | `1` | no |
| [parameter\_group\_family](#input\_parameter\_group\_family) | Provide parameter group family | `string` | `"redis6.x"` | no |
| [parameter\_group\_overrides](#input\_parameter\_group\_overrides) | Optional map of user defined parameters. The map key is the parameter name. | `map(string)` | `{}` | no |
| [preferred\_cache\_cluster\_azs](#input\_preferred\_cache\_cluster\_azs) | Set prefered AZ's for the cache clusters | `list(string)` | n/a | yes |
| [security\_group\_ids](#input\_security\_group\_ids) | Provide at least one security group to be associated with this instance. | `list(string)` | n/a | yes |
| [subnet\_ids](#input\_subnet\_ids) | Required list of subnets to launch instances in. | `list(string)` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [elasticache\_arn](#output\_elasticache\_arn) | n/a |
| [elasticache\_dns\_address](#output\_elasticache\_dns\_address) | n/a |
| [memcached\_config\_endpoint](#output\_memcached\_config\_endpoint) | n/a |
| [redis\_primary\_endpoint](#output\_redis\_primary\_endpoint) | n/a |
| [redis\_reader\_endpoint](#output\_redis\_reader\_endpoint) | n/a |