From 9a2e4f845e1361a755d929e2ee9fb3ea93ca08cb Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 13 Apr 2023 15:35:55 -0400 Subject: [PATCH] fix --- route53-zone-association/zone/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }