You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-15Lines changed: 30 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,35 +40,36 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [linkedin](http
40
40
41
41
| Name | Description | Type | Default | Required |
42
42
|------|-------------|:----:|:-----:|:-----:|
43
-
| name\_prefix | The replication group identifier. This parameter is stored as a lowercase string. | string | n/a | yes |
44
-
| node\_type | The compute and memory capacity of the nodes in the node group. | string | n/a | yes |
45
-
| number\_cache\_clusters | The number of cache clusters (primary and replicas) this replication group will have. | number | n/a | yes |
46
-
| subnet\_ids | List of VPC Subnet IDs for the cache subnet group. | list(string) | n/a | yes |
47
-
| vpc\_id | VPC Id to associate with Redis ElastiCache. | string | n/a | yes |
48
-
| apply\_immediately | Specifies whether any modifications are applied immediately, or during the next maintenance window. | bool |`false`| no |
49
-
| at\_rest\_encryption\_enabled | Whether to enable encryption at rest. | bool |`true`| no |
50
-
| auth\_token | The password used to access a password protected server. Can be specified only if `transit_encryption_enabled = true`. | string |`""`| no |
43
+
| apply\_immediately | Specifies whether any modifications are applied immediately, or during the next maintenance window. | bool |`"false"`| no |
44
+
| at\_rest\_encryption\_enabled | Whether to enable encryption at rest. | bool |`"true"`| no |
45
+
| auth\_token | The password used to access a password protected server. Can be specified only if `transit\_encryption\_enabled = true`. | string |`""`| no |
51
46
| auto\_minor\_version\_upgrade || string |`"true"`| no |
52
-
| automatic\_failover\_enabled | Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. | bool |`true`| no |
47
+
| automatic\_failover\_enabled | Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. | bool |`"true"`| no |
53
48
| description | The description of the all resources. | string |`"Managed by Terraform"`| no |
54
49
| engine\_version | The version number of the cache engine to be used for the cache clusters in this replication group. | string |`"5.0.6"`| no |
55
50
| family | The family of the ElastiCache parameter group. | string |`"redis5.0"`| no |
56
51
| ingress\_cidr\_blocks | List of Ingress CIDR blocks. | list(string) |`[]`| no |
57
-
| 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 |
52
+
| 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 |
58
53
| maintenance\_window | Specifies the weekly time range for when maintenance on the cache cluster is performed. | string |`""`| no |
59
-
| notification\_topic\_arn | An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`| string |`""`| no |
54
+
| name\_prefix | The replication group identifier. This parameter is stored as a lowercase string. | string | n/a | yes |
55
+
| node\_type | The compute and memory capacity of the nodes in the node group. | string | n/a | yes |
56
+
| notification\_topic\_arn | An Amazon Resource Name \(ARN\) of an SNS topic to send ElastiCache notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my\_sns\_topic`| string |`""`| no |
57
+
| number\_cache\_clusters | The number of cache clusters \(primary and replicas\) this replication group will have. | number | n/a | yes |
60
58
| parameter | A list of Redis parameters to apply. Note that parameters may differ from one Redis family to another | object |`[]`| no |
61
-
| port | The port number on which each of the cache nodes will accept connections. | number |`6379`| no |
59
+
| port | The port number on which each of the cache nodes will accept connections. | number |`"6379"`| no |
62
60
| security\_group\_ids | List of Security Groups. | list(string) |`[]`| no |
63
-
| snapshot\_retention\_limit | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. | number |`30`| no |
64
-
| snapshot\_window | The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. | string |`""`| no |
61
+
| snapshot\_retention\_limit | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. | number |`"30"`| no |
62
+
| snapshot\_window | The daily time range \(in UTC\) during which ElastiCache will begin taking a daily snapshot of your cache cluster. | string |`""`| no |
63
+
| subnet\_ids | List of VPC Subnet IDs for the cache subnet group. | list(string) | n/a | yes |
65
64
| tags | A mapping of tags to assign to all resources. | map(string) |`{}`| no |
66
-
| transit\_encryption\_enabled | Whether to enable encryption in transit. | bool |`true`| no |
65
+
| transit\_encryption\_enabled | Whether to enable encryption in transit. | bool |`"true"`| no |
66
+
| vpc\_id | VPC Id to associate with Redis ElastiCache. | string | n/a | yes |
67
67
68
68
## Outputs
69
69
70
70
| Name | Description |
71
71
|------|-------------|
72
+
| elasticache\_auth\_token | The Redis Auth Token |
72
73
| elasticache\_parameter\_group\_id | The ElastiCache parameter group name. |
73
74
| elasticache\_replication\_group\_id | The ID of the ElastiCache Replication Group. |
74
75
| elasticache\_replication\_group\_member\_clusters | The identifiers of all the nodes that are part of this replication group. |
@@ -87,3 +88,17 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [linkedin](http
87
88
## License
88
89
89
90
See LICENSE for full details.
91
+
92
+
## Pre-commit hooks
93
+
94
+
### Install dependencies
95
+
96
+
*[`pre-commit`](https://pre-commit.com/#install)
97
+
*[`terraform-docs`](https://github.com/segmentio/terraform-docs) required for `terraform_docs` hooks.
98
+
*[`TFLint`](https://github.com/terraform-linters/tflint) required for `terraform_tflint` hook.
Copy file name to clipboardExpand all lines: examples/core/README.md
+1-50Lines changed: 1 addition & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,53 +5,4 @@ terraform init
5
5
terraform validate
6
6
terraform plan
7
7
terraform apply --auto-approve
8
-
```
9
-
10
-
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
11
-
## Inputs
12
-
13
-
| Name | Description | Type | Default | Required |
14
-
|------|-------------|:----:|:-----:|:-----:|
15
-
| name\_prefix | The replication group identifier. This parameter is stored as a lowercase string. | string | n/a | yes |
16
-
| node\_type | The compute and memory capacity of the nodes in the node group. | string | n/a | yes |
17
-
| number\_cache\_clusters | The number of cache clusters (primary and replicas) this replication group will have. | string | n/a | yes |
18
-
| subnet\_ids | List of VPC Subnet IDs for the cache subnet group. | list(string) | n/a | yes |
19
-
| vpc\_id | VPC Id to associate with Redis ElastiCache. | string | n/a | yes |
20
-
| apply\_immediately | Specifies whether any modifications are applied immediately, or during the next maintenance window. | string |`"false"`| no |
21
-
| at\_rest\_encryption\_enabled | Whether to enable encryption at rest. | string |`"true"`| no |
22
-
| auth\_token | The password used to access a password protected server. Can be specified only if `transit_encryption_enabled = true`. | string |`""`| no |
23
-
| auto\_minor\_version\_upgrade || string |`"true"`| no |
24
-
| automatic\_failover\_enabled | Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. | string |`"true"`| no |
25
-
| description | The description of the all resources. | string |`"Managed by Terraform"`| no |
26
-
| engine\_version | The version number of the cache engine to be used for the cache clusters in this replication group. | string |`"5.0.6"`| no |
27
-
| family | The family of the ElastiCache parameter group. | string |`"redis5.0"`| no |
28
-
| ingress\_cidr\_blocks | List of Ingress CIDR blocks. | list(string) |`[]`| no |
29
-
| 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 |
30
-
| maintenance\_window | Specifies the weekly time range for when maintenance on the cache cluster is performed. | string |`""`| no |
31
-
| notification\_topic\_arn | An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`| string |`""`| no |
32
-
| parameter | A list of Redis parameters to apply. Note that parameters may differ from one Redis family to another | object |`[]`| no |
33
-
| port | The port number on which each of the cache nodes will accept connections. | string |`"6379"`| no |
34
-
| security\_group\_ids | List of Security Groups. | list(string) |`[]`| no |
35
-
| snapshot\_retention\_limit | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. | string |`"30"`| no |
36
-
| snapshot\_window | The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. | string |`""`| no |
37
-
| tags | A mapping of tags to assign to all resources. | map(string) |`{}`| no |
38
-
| transit\_encryption\_enabled | Whether to enable encryption in transit. | string |`"true"`| no |
39
-
40
-
## Outputs
41
-
42
-
| Name | Description |
43
-
|------|-------------|
44
-
| elasticache\_parameter\_group\_id | The ElastiCache parameter group name. |
45
-
| elasticache\_replication\_group\_id | The ID of the ElastiCache Replication Group. |
46
-
| elasticache\_replication\_group\_member\_clusters | The identifiers of all the nodes that are part of this replication group. |
47
-
| elasticache\_replication\_group\_primary\_endpoint\_address | The address of the endpoint for the primary node in the replication group. |
48
-
| security\_group\_arn | The ARN of the Redis ElastiCache security group. |
49
-
| security\_group\_description | The description of the Redis ElastiCache security group. |
50
-
| security\_group\_egress | The egress rules of the Redis ElastiCache security group. |
51
-
| security\_group\_id | The ID of the Redis ElastiCache security group. |
52
-
| security\_group\_ingress | The ingress rules of the Redis ElastiCache security group. |
53
-
| security\_group\_name | The name of the Redis ElastiCache security group. |
54
-
| security\_group\_owner\_id | The owner ID of the Redis ElastiCache security group. |
55
-
| security\_group\_vpc\_id | The VPC ID of the Redis ElastiCache security group. |
0 commit comments