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 f63cd89 commit 5aa2df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vpc-interface-endpoint/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ resource "aws_route53_record" "vpce" {
}

resource "aws_route53_record" "vpce_ipv6" {
count = local.r53_create && local.endpoint_exists && length(flatten([for in in data.aws_network_interface.vpce : n.ipv6_addresses])) > 0 ? 1 : 0
count = local.r53_create && local.endpoint_exists && length(flatten([for n 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"
ttl = "60"
records = [for n in data.aws_network_interface.vpce : n.ipv6_addresses]
records = flatten([for n in data.aws_network_interface.vpce : n.ipv6_addresses])
}

resource "aws_route53_record" "vpce_wildcard" {
Expand Down

0 comments on commit 5aa2df9

Please sign in to comment.