diff --git a/route53-zone-association/zone/main.tf b/route53-zone-association/zone/main.tf index 8a194d0..e722ded 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.peer.name : var.region + vpc_region = var.region == null ? data.aws_region.self.name : var.region depends_on = [aws_route53_vpc_association_authorization.self_zone] }