Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 7bd355c

Browse files
authored
Fix Disabled Outputs (cloudposse#9)
1 parent 51007a3 commit 7bd355c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" {
111111
}
112112

113113
module "dns" {
114-
source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.2.0"
114+
source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.2.1"
115115
enabled = "${var.enabled}"
116116
namespace = "${var.namespace}"
117117
name = "${var.name}"
118118
stage = "${var.stage}"
119119
ttl = 60
120120
zone_id = "${var.zone_id}"
121-
records = ["${aws_elasticache_replication_group.default.primary_endpoint_address}"]
121+
records = ["${aws_elasticache_replication_group.default.*.primary_endpoint_address}"]
122122
}

output.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
output "id" {
2-
value = "${aws_elasticache_replication_group.default.id}"
2+
value = "${join("", aws_elasticache_replication_group.default.*.id)}"
33
}
44

55
output "security_group_id" {
6-
value = "${aws_security_group.default.id}"
6+
value = "${join("", aws_security_group.default.*.id)}"
77
}
88

99
output "port" {

0 commit comments

Comments
 (0)