diff --git a/vpc-interface-endpoint/route53.tf b/vpc-interface-endpoint/route53.tf index 57f7671..ec79e11 100644 --- a/vpc-interface-endpoint/route53.tf +++ b/vpc-interface-endpoint/route53.tf @@ -101,7 +101,7 @@ module "vpce_ips" { } locals { - ptr_zones = local.r5_create ? distinct([for k, v in module.vpce_ips[0].results_ipv4 : v.network_ptr_sorted]) : [] + ptr_zones = local.r53_create ? distinct([for k, v in module.vpce_ips[0].results_ipv4 : v.network_ptr_sorted]) : [] } data "aws_route53_zone" "vpce_ptr" {