Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 19, 2024
1 parent 4ee65ea commit f63cd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpc-interface-endpoint/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "aws_route53_record" "vpce" {
}

resource "aws_route53_record" "vpce_ipv6" {
count = local.r53_create && local.endpoint_exists && length(data.aws_network_interface.vpce.ipv6_addresses) > 0 ? 1 : 0
count = local.r53_create && local.endpoint_exists && length(flatten([for in in data.aws_network_interface.vpce : n.ipv6_addresses])) > 0 ? 1 : 0
zone_id = try(aws_route53_zone.vpce[0].zone_id, null)
name = try(aws_route53_zone.vpce[0].name, null)
type = "AAAA"
Expand Down

0 comments on commit f63cd89

Please sign in to comment.