From 03070e273da161de78f1a2b670b980c55b826e1a Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Tue, 18 Jul 2023 17:00:05 -0400 Subject: [PATCH] feat: acm no longer requires zone (https://github.com/cloudposse/terraform-aws-components/pull/765) --- src/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tf b/src/main.tf index 7683e90..a2234c4 100644 --- a/src/main.tf +++ b/src/main.tf @@ -14,7 +14,7 @@ locals { } data "aws_route53_zone" "default" { - count = local.enabled ? 1 : 0 + count = local.enabled && var.process_domain_validation_options ? 1 : 0 name = length(var.zone_name) > 0 ? var.zone_name : module.dns_delegated.outputs.default_domain_name private_zone = local.private_enabled }