diff --git a/README.md b/README.md index a187e7e..4c27971 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,13 @@ - -

- - +[![Banner](https://github.com/clouddrove/terraform-gcp-vpc/blob/master/docs/CloudDrove.png)][website]

Terraform AWS Elasticache

-

- Terraform module to create Elasticache Cluster and replica for Redis and Memcache. -

+

+ With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence. +

+

@@ -22,6 +20,9 @@ Licence + + Changelog +

@@ -30,6 +31,9 @@ + + + @@ -41,19 +45,22 @@
-We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. +We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices. -This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. -We have [*fifty plus terraform modules*][terraform_modules]. A few of them are comepleted and are available for open source usage while a few others are in progress. +This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding. -## Prerequisites +## Prerequisites and Providers -This module has a few dependencies: +This table contains both Prerequisites and Providers: +| Description | Name | Version | +|:-------------:|:-------------------------------------------:|:---------:| +| **Prerequisite** | [Terraform](https://learn.hashicorp.com/terraform/getting-started/install.html) | >= 1.6.5 | +| **Provider** | [aws](https://aws.amazon.com/) | >= 5.31.0 | @@ -61,248 +68,122 @@ This module has a few dependencies: ## Examples +**IMPORTANT:** Since the master branch used in source varies based on new modifications, we recommend using the [release versions](https://github.com/clouddrove/terraform-aws-elasticache/releases). + +πŸ“Œ For additional usage examples, check the complete list under [`examples/`](./examples) directory. + + + +## Inputs and Outputs + +Refer to complete documentation: [here](docs/io.md) + + + + + +## Module Dependencies + +This module has dependencies on: +- [Labels Module](https://github.com/clouddrove/terraform-aws-labels): Provides resource tagging. + + +## πŸ“‘ Changelog + +Refer [here](CHANGELOG.md). + + + + +## ✨ Contributors + +Big thanks to our contributors for elevating our project with their dedication and expertise! But, we do not wish to stop there, would like to invite contributions from the community in improving these projects and making them more versatile for better reach. Remember, every bit of contribution is immensely valuable, as, together, we are moving in only 1 direction, i.e. forward. + + + + +
+
+ + If you're considering contributing to our project, here are a few quick guidelines that we have been following (Got a suggestion? We are all ears!): + +- **Fork the Repository:** Create a new branch for your feature or bug fix. +- **Coding Standards:** You know the drill. +- **Clear Commit Messages:** Write clear and concise commit messages to facilitate understanding. +- **Thorough Testing:** Test your changes thoroughly before submitting a pull request. +- **Documentation Updates:** Include relevant documentation updates if your changes impact it. + + + + + + + + + -**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-elasticache/releases). - - -Here are some examples of how you can use this module in your inventory structure: -### Redis -```hcl - module "redis" { - source = "clouddrove/elasticache/aws - version = "1.3.0" - - name = "redis" - environment = "test" - label_order = ["name", "environment"] - - vpc_id = module.vpc.vpc_id - allowed_ip = [module.vpc.vpc_cidr_block] - allowed_ports = [6379] - - cluster_replication_enabled = true - engine = "redis" - engine_version = "7.0" - parameter_group_name = "default.redis7" - port = 6379 - node_type = "cache.t2.micro" - subnet_ids = module.subnets.public_subnet_id - availability_zones = [""] - automatic_failover_enabled = false - multi_az_enabled = false - num_cache_clusters = 1 - retention_in_days = 0 - snapshot_retention_limit = 7 - - log_delivery_configuration = [ - { - destination_type = "cloudwatch-logs" - log_format = "json" - log_type = "slow-log" - }, - { - destination_type = "cloudwatch-logs" - log_format = "json" - log_type = "engine-log" - } - ] - extra_tags = { - Application = "CloudDrove" - } - route53_record_enabled = true - ssm_parameter_endpoint_enabled = true - dns_record_name = "prod" - route53_ttl = "300" - route53_type = "CNAME" - route53_zone_id = "Z017xxxxDLxxx0GH04" - } - -``` -### Redis Cluster -```hcl - module "redis-cluster" { - source = "clouddrove/elasticache/aws - version = "1.3.0" - - name = "redis-cluster" - environment = "test" - label_order = ["environment", "name"] - - vpc_id = module.vpc.vpc_id - allowed_ip = [module.vpc.vpc_cidr_block] - allowed_ports = [6379] - - cluster_replication_enabled = true - engine = "redis" - engine_version = "7.0" - parameter_group_name = "default.redis7.cluster.on" - port = 6379 - node_type = "cache.t2.micro" - subnet_ids = module.subnets.public_subnet_id - availability_zones = ["eu-west-1a", "eu-west-1b"] - num_cache_nodes = 1 - snapshot_retention_limit = 7 - automatic_failover_enabled = true - extra_tags = { - Application = "CloudDrove" - } - - route53_record_enabled = false - ssm_parameter_endpoint_enabled = false - dns_record_name = "prod" - route53_ttl = "300" - route53_type = "CNAME" - route53_zone_id = "SERFxxxx6XCsY9Lxxxxx" - } -``` -### Memcache -```hcl - module "memcached" { - source = "clouddrove/elasticache/aws - version = "1.3.0" - - name = "memcached" - environment = "test" - label_order = ["name", "environment"] - - vpc_id = module.vpc.vpc_id - allowed_ip = [module.vpc.vpc_cidr_block] - allowed_ports = [11211] - - cluster_enabled = true - memcached_ssm_parameter_endpoint_enabled = true - memcached_route53_record_enabled = true - engine = "memcached" - engine_version = "1.6.17" - family = "memcached1.5" - parameter_group_name = "" - az_mode = "cross-az" - port = 11211 - node_type = "cache.t2.micro" - num_cache_nodes = 2 - subnet_ids = module.subnets.public_subnet_id - availability_zones = ["eu-west-1a", "eu-west-1b"] - extra_tags = { - Application = "CloudDrove" - } - route53_record_enabled = false - ssm_parameter_endpoint_enabled = false - dns_record_name = "prod" - route53_ttl = "300" - route53_type = "CNAME" - route53_zone_id = "SERFxxxx6XCsY9Lxxxxx" - - } -``` - - - - - - -## Inputs - -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| alias | The display name of the alias. The name must start with the word `alias` followed by a forward slash. | `string` | `"alias/redis"` | no | -| allowed\_ip | List of allowed ip. | `list(any)` | `[]` | no | -| allowed\_ports | List of allowed ingress ports | `list(any)` | `[]` | no | -| auth\_token | The password used to access a password protected server. Can be specified only if transit\_encryption\_enabled = true. Find auto generated auth\_token in terraform.tfstate or in AWS SSM Parameter Store. | `string` | `null` | no | -| auth\_token\_enable | Flag to specify whether to create auth token (password) protected cluster. Can be specified only if transit\_encryption\_enabled = true. | `bool` | `true` | no | -| availability\_zones | A list of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is not important. | `list(string)` | n/a | yes | -| az\_mode | (Memcached only) Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. Valid values for this parameter are single-az or cross-az, default is single-az. If you want to choose cross-az, num\_cache\_nodes must be greater than 1. | `string` | `"single-az"` | no | -| cluster\_enabled | (Memcache only) Enabled or disabled cluster. | `bool` | `false` | no | -| cluster\_replication\_enabled | (Redis only) Enabled or disabled replication\_group for redis cluster. | `bool` | `false` | no | -| customer\_master\_key\_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC\_DEFAULT, RSA\_2048, RSA\_3072, RSA\_4096, ECC\_NIST\_P256, ECC\_NIST\_P384, ECC\_NIST\_P521, or ECC\_SECG\_P256K1. Defaults to SYMMETRIC\_DEFAULT. | `string` | `"SYMMETRIC_DEFAULT"` | no | -| deletion\_window\_in\_days | Duration in days after which the key is deleted after destruction of the resource. | `number` | `7` | no | -| egress\_rule | Enable to create egress rule | `bool` | `true` | no | -| enable | Enable or disable of elasticache | `bool` | `true` | no | -| enable\_key\_rotation | Specifies whether key rotation is enabled. | `string` | `true` | no | -| enable\_security\_group | Enable default Security Group with only Egress traffic allowed. | `bool` | `true` | no | -| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no | -| extra\_tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). | `map(string)` | `{}` | no | -| is\_enabled | Specifies whether the key is enabled. | `bool` | `true` | no | -| is\_external | enable to udated existing security Group | `bool` | `false` | no | -| key\_usage | Specifies the intended use of the key. Defaults to ENCRYPT\_DECRYPT, and only symmetric encryption and decryption are supported. | `string` | `"ENCRYPT_DECRYPT"` | no | -| kms\_description | The description of the key as viewed in AWS console. | `string` | `"Parameter Store KMS master key"` | no | -| kms\_key\_enabled | Specifies whether the kms is enabled or disabled. | `bool` | `true` | no | -| kms\_key\_id | The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if at\_rest\_encryption\_enabled = true. | `string` | `""` | no | -| kms\_multi\_region | Indicates whether the KMS key is a multi-Region (true) or regional (false) key. | `bool` | `false` | no | -| label\_order | Label order, e.g. `name`,`application`. | `list(any)` |
[
"environment",
"name"
]
| no | -| length | n/a | `number` | `25` | no | -| log\_delivery\_configuration | The log\_delivery\_configuration block allows the streaming of Redis SLOWLOG or Redis Engine Log to CloudWatch Logs or Kinesis Data Firehose. Max of 2 blocks. | `list(map(any))` | `[]` | no | -| managedby | ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. | `string` | `"anmol@clouddrove.com"` | no | -| memcached\_route53\_record\_enabled | Whether to create Route53 record memcached set. | `bool` | `false` | no | -| memcached\_ssm\_parameter\_endpoint\_enabled | Name of the parameter. | `bool` | `false` | no | -| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no | -| num\_cache\_nodes | (Required unless replication\_group\_id is provided) The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed. | `number` | `1` | no | -| protocol | The protocol. If not icmp, tcp, udp, or all use the. | `string` | `"tcp"` | no | -| replication\_group | n/a | `map(any)` | `{}` | no | -| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-aws-elasticache"` | no | -| retention\_in\_days | Specifies the number of days you want to retain log events in the specified log group. | `number` | `0` | no | -| route53 | Route53 Configurations. | `map(any)` | `{}` | no | -| route53\_record\_enabled | Whether to create Route53 record set. | `bool` | `false` | no | -| security\_group\_names | A list of cache security group names to associate with this replication group. | `list(string)` | `null` | no | -| sg\_description | The security group description. | `string` | `"Instance default security group (only egress access is allowed)."` | no | -| sg\_egress\_description | Description of the egress and ingress rule | `string` | `"Description of the rule."` | no | -| sg\_egress\_ipv6\_description | Description of the egress\_ipv6 rule | `string` | `"Description of the rule."` | no | -| sg\_ids | of the security group id. | `list(any)` | `[]` | no | -| sg\_ingress\_description | Description of the ingress rule | `string` | `"Description of the ingress rule use elasticache."` | no | -| snapshot\_arns | A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. | `list(string)` | `null` | no | -| special | n/a | `bool` | `false` | no | -| ssm\_parameter\_description | SSM Parameters can be imported using. | `string` | `"Description of the parameter."` | no | -| ssm\_parameter\_endpoint\_enabled | Name of the parameter. | `bool` | `false` | no | -| ssm\_parameter\_type | Type of the parameter. | `string` | `"SecureString"` | no | -| subnet\_group\_description | Description for the cache subnet group. Defaults to `Managed by Terraform`. | `string` | `"The Description of the ElastiCache Subnet Group."` | no | -| subnet\_ids | List of VPC Subnet IDs for the cache subnet group. | `list(any)` | `[]` | no | -| user\_group\_ids | User Group ID to associate with the replication group. | `list(string)` | `null` | no | -| vpc\_id | The ID of the VPC that the instance security group belongs to. | `string` | `""` | no | - -## Outputs - -| Name | Description | -|------|-------------| -| Memcached\_ssm\_name | A list of all of the parameter values | -| auth\_token | Auth token generated value | -| hostname | DNS hostname | -| id | Redis cluster id. | -| memcached\_arn | Memcached arn | -| memcached\_endpoint | Memcached endpoint address. | -| memcached\_hostname | DNS hostname | -| port | Redis port. | -| redis\_arn | Redis arn | -| redis\_endpoint | Redis endpoint address. | -| redis\_ssm\_name | A list of all of the parameter values | -| sg\_id | n/a | -| tags | A mapping of tags to assign to the resource. | - - - - -## Testing -In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system. - -You need to run the following command in the testing folder: -```hcl - go test -run Test -``` ## Feedback -If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-elasticache/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). +Spot a bug or have thoughts to share with us? Let's squash it together! Log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-elasticache/issues), feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com). + +Show some love with a β˜… on [our GitHub](https://github.com/clouddrove/terraform-aws-elasticache)! if our work has brightened your day! – your feedback fuels our journey! + + +## :rocket: Our Accomplishment + +We have [*100+ Terraform modules*][terraform_modules] πŸ™Œ. You could consider them finished, but, with enthusiasts like yourself, we are able to ever improve them, so we call our status - improvement in progress. + +- [Terraform Module Registry:](https://registry.terraform.io/namespaces/clouddrove) Discover our Terraform modules here. + +- [Terraform Modules for AWS/Azure Modules:](https://github.com/clouddrove/toc) Explore our comprehensive Table of Contents for easy navigation through our documentation for modules pertaining to AWS, Azure & GCP. + +- [Terraform Modules for Digital Ocean:](https://github.com/terraform-do-modules/toc) Check out our specialized Terraform modules for Digital Ocean. + + + + +## Join Our Slack Community + +Join our vibrant open-source slack community and embark on an ever-evolving journey with CloudDrove; helping you in moving upwards in your career path. +Join our vibrant Open Source Slack Community and embark on a learning journey with CloudDrove. Grow with us in the world of DevOps and set your career on a path of consistency. + +πŸŒπŸ’¬What you'll get after joining this Slack community: + +- πŸš€ Encouragement to upgrade your best version. +- 🌈 Learning companionship with our DevOps squad. +- 🌱 Relentless growth with daily updates on new advancements in technologies. + +Join our tech elites [Join Now][slack] πŸš€ + + +## Explore Our Blogs -If you have found it worth your time, go ahead and give us a β˜… on [our GitHub](https://github.com/clouddrove/terraform-aws-elasticache)! + Click [here][blog] :books: :star2: -## About us +## Tap into our capabilities +We provide a platform for organizations to engage with experienced top-tier DevOps & Cloud services. Tap into our pool of certified engineers and architects to elevate your DevOps and Cloud Solutions. -At [CloudDrove][website], we offer expert guidance, implementation support and services to help organisations accelerate their journey to the cloud. Our services include docker and container orchestration, cloud migration and adoption, infrastructure automation, application modernisation and remediation, and performance engineering. +At [CloudDrove][website], has extensive experience in designing, building & migrating environments, securing, consulting, monitoring, optimizing, automating, and maintaining complex and large modern systems. With remarkable client footprints in American & European corridors, our certified architects & engineers are ready to serve you as per your requirements & schedule. Write to us at [business@clouddrove.com](mailto:business@clouddrove.com).

We are The Cloud Experts!


-

We ❀️ Open Source and you can check out our other modules to get help with your new Cloud ideas.

+

We ❀️ Open Source and you can check out our other modules to get help with your new Cloud ideas.

[website]: https://clouddrove.com + [blog]: https://blog.clouddrove.com + [slack]: https://www.launchpass.com/devops-talks [github]: https://github.com/clouddrove [linkedin]: https://cpco.io/linkedin [twitter]: https://twitter.com/clouddrove/ diff --git a/docs/io.md b/docs/io.md new file mode 100644 index 0000000..0b9c1a0 --- /dev/null +++ b/docs/io.md @@ -0,0 +1,77 @@ +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| alias | The display name of the alias. The name must start with the word `alias` followed by a forward slash. | `string` | `"alias/redis"` | no | +| allowed\_ip | List of allowed ip. | `list(any)` | `[]` | no | +| allowed\_ports | List of allowed ingress ports | `list(any)` | `[]` | no | +| auth\_token | The password used to access a password protected server. Can be specified only if transit\_encryption\_enabled = true. Find auto generated auth\_token in terraform.tfstate or in AWS SSM Parameter Store. | `string` | `null` | no | +| auth\_token\_enable | Flag to specify whether to create auth token (password) protected cluster. Can be specified only if transit\_encryption\_enabled = true. | `bool` | `true` | no | +| availability\_zones | A list of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is not important. | `list(string)` | n/a | yes | +| az\_mode | (Memcached only) Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster's region. Valid values for this parameter are single-az or cross-az, default is single-az. If you want to choose cross-az, num\_cache\_nodes must be greater than 1. | `string` | `"single-az"` | no | +| cluster\_enabled | (Memcache only) Enabled or disabled cluster. | `bool` | `false` | no | +| cluster\_replication\_enabled | (Redis only) Enabled or disabled replication\_group for redis cluster. | `bool` | `false` | no | +| customer\_master\_key\_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC\_DEFAULT, RSA\_2048, RSA\_3072, RSA\_4096, ECC\_NIST\_P256, ECC\_NIST\_P384, ECC\_NIST\_P521, or ECC\_SECG\_P256K1. Defaults to SYMMETRIC\_DEFAULT. | `string` | `"SYMMETRIC_DEFAULT"` | no | +| deletion\_window\_in\_days | Duration in days after which the key is deleted after destruction of the resource. | `number` | `7` | no | +| egress\_rule | Enable to create egress rule | `bool` | `true` | no | +| enable | Enable or disable of elasticache | `bool` | `true` | no | +| enable\_key\_rotation | Specifies whether key rotation is enabled. | `string` | `true` | no | +| enable\_security\_group | Enable default Security Group with only Egress traffic allowed. | `bool` | `true` | no | +| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no | +| extra\_tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). | `map(string)` | `{}` | no | +| is\_enabled | Specifies whether the key is enabled. | `bool` | `true` | no | +| is\_external | enable to udated existing security Group | `bool` | `false` | no | +| key\_usage | Specifies the intended use of the key. Defaults to ENCRYPT\_DECRYPT, and only symmetric encryption and decryption are supported. | `string` | `"ENCRYPT_DECRYPT"` | no | +| kms\_description | The description of the key as viewed in AWS console. | `string` | `"Parameter Store KMS master key"` | no | +| kms\_key\_enabled | Specifies whether the kms is enabled or disabled. | `bool` | `true` | no | +| kms\_key\_id | The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if at\_rest\_encryption\_enabled = true. | `string` | `""` | no | +| kms\_multi\_region | Indicates whether the KMS key is a multi-Region (true) or regional (false) key. | `bool` | `false` | no | +| label\_order | Label order, e.g. `name`,`application`. | `list(any)` |
[
"environment",
"name"
]
| no | +| length | n/a | `number` | `25` | no | +| log\_delivery\_configuration | The log\_delivery\_configuration block allows the streaming of Redis SLOWLOG or Redis Engine Log to CloudWatch Logs or Kinesis Data Firehose. Max of 2 blocks. | `list(map(any))` | `[]` | no | +| managedby | ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. | `string` | `"anmol@clouddrove.com"` | no | +| memcached\_route53\_record\_enabled | Whether to create Route53 record memcached set. | `bool` | `false` | no | +| memcached\_ssm\_parameter\_endpoint\_enabled | Name of the parameter. | `bool` | `false` | no | +| name | Name (e.g. `app` or `cluster`). | `string` | `""` | no | +| network\_type | value of the network type. Valid values are ipv4, ipv6 or dual\_stack. | `string` | `"ipv4"` | no | +| num\_cache\_nodes | (Required unless replication\_group\_id is provided) The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed. | `number` | `1` | no | +| protocol | The protocol. If not icmp, tcp, udp, or all use the. | `string` | `"tcp"` | no | +| replication\_group | n/a | `map(any)` | `{}` | no | +| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-aws-elasticache"` | no | +| retention\_in\_days | Specifies the number of days you want to retain log events in the specified log group. | `number` | `0` | no | +| route53 | Route53 Configurations. | `map(any)` | `{}` | no | +| route53\_record\_enabled | Whether to create Route53 record set. | `bool` | `false` | no | +| security\_group\_names | A list of cache security group names to associate with this replication group. | `list(string)` | `null` | no | +| sg\_description | The security group description. | `string` | `"Instance default security group (only egress access is allowed)."` | no | +| sg\_egress\_description | Description of the egress and ingress rule | `string` | `"Description of the rule."` | no | +| sg\_egress\_ipv6\_description | Description of the egress\_ipv6 rule | `string` | `"Description of the rule."` | no | +| sg\_ids | of the security group id. | `list(any)` | `[]` | no | +| sg\_ingress\_description | Description of the ingress rule | `string` | `"Description of the ingress rule use elasticache."` | no | +| snapshot\_arns | A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. | `list(string)` | `null` | no | +| special | n/a | `bool` | `false` | no | +| ssm\_parameter\_description | SSM Parameters can be imported using. | `string` | `"Description of the parameter."` | no | +| ssm\_parameter\_endpoint\_enabled | Name of the parameter. | `bool` | `false` | no | +| ssm\_parameter\_type | Type of the parameter. | `string` | `"SecureString"` | no | +| subnet\_group\_description | Description for the cache subnet group. Defaults to `Managed by Terraform`. | `string` | `"The Description of the ElastiCache Subnet Group."` | no | +| subnet\_ids | List of VPC Subnet IDs for the cache subnet group. | `list(any)` | `[]` | no | +| user\_group\_ids | User Group ID to associate with the replication group. | `list(string)` | `null` | no | +| vpc\_id | The ID of the VPC that the instance security group belongs to. | `string` | `""` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| Memcached\_ssm\_name | A list of all of the parameter values | +| auth\_token | Auth token generated value | +| hostname | DNS hostname | +| id | Redis cluster id. | +| memcached\_arn | Memcached arn | +| memcached\_endpoint | Memcached endpoint address. | +| memcached\_hostname | DNS hostname | +| port | Redis port. | +| redis\_arn | Redis arn | +| redis\_endpoint | Redis endpoint address. | +| redis\_ssm\_name | A list of all of the parameter values | +| sg\_id | n/a | +| tags | A mapping of tags to assign to the resource. | +