Skip to content

Commit 191c1f9

Browse files
committed
Fix output buf of private-zone
1 parent 4d627c0 commit 191c1f9

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0
1+
0.14.1

modules/private-zone/outputs.tf

+6-13
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,12 @@ output "name_servers" {
3535

3636
output "vpc_associations" {
3737
description = "A list of associated VPCs with a private Hosted Zone."
38-
value = concat(
39-
[{
40-
region = one(aws_route53_zone.private.vpc[*].vpc_region)
41-
vpc_id = one(aws_route53_zone.private.vpc[*].vpc_id)
42-
}],
43-
[
44-
for association in aws_route53_zone_association.secondary : {
45-
region = association.vpc_region
46-
vpc_id = association.vpc_id
47-
}
48-
]
49-
50-
)
38+
value = [
39+
for association in aws_route53_zone.private.vpc : {
40+
region = association.vpc_region
41+
vpc_id = association.vpc_id
42+
}
43+
]
5144
}
5245

5346
output "cross_account_vpc_association_authorizations" {

0 commit comments

Comments
 (0)