Skip to content

Commit 17e7b76

Browse files
committed
Add outputs descriptions
1 parent 5799982 commit 17e7b76

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ No modules.
111111

112112
| Name | Description |
113113
|------|-------------|
114-
| <a name="output_endpoint"></a> [endpoint](#output\_endpoint) | n/a |
115-
| <a name="output_id"></a> [id](#output\_id) | n/a |
116-
| <a name="output_parameter_group"></a> [parameter\_group](#output\_parameter\_group) | n/a |
117-
| <a name="output_port"></a> [port](#output\_port) | n/a |
118-
| <a name="output_redis_security_group_id"></a> [redis\_security\_group\_id](#output\_redis\_security\_group\_id) | n/a |
119-
| <a name="output_redis_subnet_group_name"></a> [redis\_subnet\_group\_name](#output\_redis\_subnet\_group\_name) | n/a |
114+
| <a name="output_endpoint"></a> [endpoint](#output\_endpoint) | Redis endpoint address |
115+
| <a name="output_id"></a> [id](#output\_id) | ID of the Redis replication group |
116+
| <a name="output_parameter_group"></a> [parameter\_group](#output\_parameter\_group) | ID of the Parameter Group to control the runtime properties of Redis nodes and clusters |
117+
| <a name="output_port"></a> [port](#output\_port) | Redis port (default is 6379) |
118+
| <a name="output_redis_security_group_id"></a> [redis\_security\_group\_id](#output\_redis\_security\_group\_id) | ID of the managed Security Group generated for Redis |
119+
| <a name="output_redis_subnet_group_name"></a> [redis\_subnet\_group\_name](#output\_redis\_subnet\_group\_name) | Name of the Redis subnet |
120120

121121
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
122122

outputs.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
output "redis_security_group_id" {
22
value = aws_security_group.redis_security_group.id
3+
description = "ID of the managed Security Group generated for Redis"
34
}
45

56
output "parameter_group" {
67
value = aws_elasticache_parameter_group.redis_parameter_group.id
8+
description = "ID of the Parameter Group to control the runtime properties of Redis nodes and clusters"
79
}
810

911
output "redis_subnet_group_name" {
1012
value = aws_elasticache_subnet_group.redis_subnet_group.name
13+
description = "Name of the Redis subnet"
14+
1115
}
1216

1317
output "id" {
1418
value = aws_elasticache_replication_group.redis.id
19+
description = "ID of the Redis replication group"
1520
}
1621

1722
output "port" {
1823
value = var.redis_port
24+
description = "Redis port (default is 6379)"
1925
}
2026

2127
output "endpoint" {
2228
value = aws_elasticache_replication_group.redis.primary_endpoint_address
29+
description = "Redis endpoint address"
2330
}

0 commit comments

Comments
 (0)