Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 7c8b918

Browse files
authored
Merge pull request #776 from simonswine/automated-cherry-pick-of-#775-release-0.6
Automated cherry pick of #775
2 parents fc55f14 + 3c1692e commit 7c8b918

File tree

1 file changed

+3
-2
lines changed
  • terraform/amazon/modules/network-existing-vpc

1 file changed

+3
-2
lines changed

terraform/amazon/modules/network-existing-vpc/outputs.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ output "route_table_private_ids" {
3535
}
3636

3737
output "private_zone_id" {
38-
value = ["${aws_route53_zone.private.*.id}"]
38+
value = "${concat(aws_route53_zone.private.*.id, list(""))}"
3939
}
4040

41+
# remove trailing dots from the name
4142
output "private_zone" {
42-
value = ["${aws_route53_zone.private.*.name}"]
43+
value = "${list(replace(aws_route53_zone.private.0.name, "/\\.$/", ""), "")}"
4344
}
4445

4546
output "environment" {

0 commit comments

Comments
 (0)