Skip to content

Commit

Permalink
feat: acm no longer requires zone (cloudposse/terraform-aws-component…
Browse files Browse the repository at this point in the history
  • Loading branch information
dudymas authored Jul 18, 2023
1 parent 2c305aa commit 03070e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 03070e2

Please sign in to comment.