diff --git a/route53-zone-association/zone/main.tf b/route53-zone-association/zone/main.tf index dddbc25..0cf3c6c 100644 --- a/route53-zone-association/zone/main.tf +++ b/route53-zone-association/zone/main.tf @@ -21,7 +21,7 @@ resource "aws_route53_vpc_association_authorization" "self_zone" { provider = aws.self for_each = data.aws_caller_identity.self.account_id != data.aws_caller_identity.peer.account_id ? toset(var.zone_ids) : toset([]) zone_id = each.key - vpc_region = data.aws_region.self.name + vpc_region = data.aws_region.peer.name vpc_id = var.vpc_id }