File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ All notable changes to this project will be documented in this file.
7
7
8
8
9
9
10
+ <a name =" 1.3.0 " ></a >
11
+ ## [ 1.3.0] - 2020-11-10
12
+
13
+ - Add support for clustered mode and upgrade fixes ([ #8 ] ( https://github.com/umotif-public/terraform-aws-elasticache-redis/issues/8 ) )
14
+
15
+
10
16
<a name =" 1.2.0 " ></a >
11
17
## [ 1.2.0] - 2020-11-09
12
18
@@ -53,7 +59,8 @@ All notable changes to this project will be documented in this file.
53
59
- Initial commit of docs
54
60
55
61
56
- [ Unreleased ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.2.0...HEAD
62
+ [ Unreleased ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.3.0...HEAD
63
+ [ 1.3.0 ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.2.0...1.3.0
57
64
[ 1.2.0 ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.1.1...1.2.0
58
65
[ 1.1.1 ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.1.0...1.1.1
59
66
[ 1.1.0 ] : https://github.com/umotif-public/terraform-aws-elasticache-redis/compare/1.0.3...1.1.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Terraform 0.12. Pin module version to `~> v1.0`. Submit pull-requests to `master
11
11
``` hcl
12
12
module "redis" {
13
13
source = "umotif-public/elasticache-redis/aws"
14
- version = "~> 1.0 .0"
14
+ version = "~> 1.3 .0"
15
15
16
16
name_prefix = "core-example"
17
17
number_cache_clusters = 2
@@ -117,8 +117,9 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [linkedin](http
117
117
118
118
| Name | Description |
119
119
| ------| -------------|
120
- | elasticache\_ auth\_ token | The Redis Auth Token |
120
+ | elasticache\_ auth\_ token | The Redis Auth Token. |
121
121
| elasticache\_ parameter\_ group\_ id | The ElastiCache parameter group name. |
122
+ | elasticache\_ port | The Redis port. |
122
123
| elasticache\_ replication\_ group\_ id | The ID of the ElastiCache Replication Group. |
123
124
| elasticache\_ replication\_ group\_ member\_ clusters | The identifiers of all the nodes that are part of this replication group. |
124
125
| elasticache\_ replication\_ group\_ primary\_ endpoint\_ address | The address of the endpoint for the primary node in the replication group. |
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ output "elasticache_replication_group_id" {
4
4
}
5
5
6
6
output "elasticache_replication_group_primary_endpoint_address" {
7
- value = aws_elasticache_replication_group. redis . primary_endpoint_address
7
+ value = var . cluster_mode_enabled ? aws_elasticache_replication_group . redis . configuration_endpoint_address : aws_elasticache_replication_group. redis . primary_endpoint_address
8
8
description = " The address of the endpoint for the primary node in the replication group."
9
9
}
10
10
@@ -59,6 +59,11 @@ output "security_group_egress" {
59
59
}
60
60
61
61
output "elasticache_auth_token" {
62
- description = " The Redis Auth Token"
62
+ description = " The Redis Auth Token. "
63
63
value = aws_elasticache_replication_group. redis . auth_token
64
64
}
65
+
66
+ output "elasticache_port" {
67
+ description = " The Redis port."
68
+ value = aws_elasticache_replication_group. redis . port
69
+ }
You can’t perform that action at this time.
0 commit comments