diff --git a/route53-zone-association/zone/main.tf b/route53-zone-association/zone/main.tf index e722ded..8a194d0 100644 --- a/route53-zone-association/zone/main.tf +++ b/route53-zone-association/zone/main.tf @@ -31,7 +31,7 @@ resource "aws_route53_zone_association" "self_zone" { zone_id = each.key vpc_id = var.vpc_id - vpc_region = var.region == null ? data.aws_region.self.name : var.region + vpc_region = var.region == null ? data.aws_region.peer.name : var.region depends_on = [aws_route53_vpc_association_authorization.self_zone] }