From 999d79ea2a6b12832007f263b855146530c02eee Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 29 Jul 2024 19:53:00 -0400 Subject: [PATCH] bad idea removed --- dns_zones.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns_zones.tf b/dns_zones.tf index 0bb37bc..af685e3 100644 --- a/dns_zones.tf +++ b/dns_zones.tf @@ -68,6 +68,7 @@ resource "aws_route53_zone" "cluster_domain" { # need to also associate with network-prod account and this vpc #--- module "route53_cluster_domain_east" { + count = local.region == "us-gov-east-1" && !(var.shared_vpc_label == null || var.shared_vpc_label == "") ? 1 : 0 providers = { aws.self = aws @@ -83,6 +84,7 @@ module "route53_cluster_domain_east" { } module "route53_cluster_domain_west" { + count = local.region == "us-gov-west-1" && !(var.shared_vpc_label == null || var.shared_vpc_label == "") ? 1 : 0 providers = { aws.self = aws