Skip to content

Commit

Permalink
πŸ› fix(regions): match east to east and west to rest
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 7, 2024
1 parent faf58c8 commit 5e4e7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ resource "aws_route53_vpc_association_authorization" "self_zone_east" {

resource "aws_route53_zone_association" "self_zone_east" {
provider = aws.route53_main_east
count = local.region == "us-gov-west-1" && local.is_shared_vpc ? 1 : 0
count = local.region == "us-gov-east-1" && local.is_shared_vpc ? 1 : 0

zone_id = aws_route53_zone.cluster_domain.zone_id
vpc_id = data.aws_vpc.eks_vpc.id
Expand Down

0 comments on commit 5e4e7f3

Please sign in to comment.