Skip to content

Commit

Permalink
zone_id instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 17, 2024
1 parent c310b64 commit 39f4989
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#-------------------------------------------------
# DNS Zone for EKS
#-------------------------------------------------

#-------------------------------------------------
# Locals
#-------------------------------------------------

Expand Down Expand Up @@ -99,6 +96,6 @@ module "cname_cluster_domain" {

name = format("*.%v", local.cluster_domain_name)
values = [var.istio_ingress_lb]
zone = aws_route53_zone.cluster_domain.name
zone = aws_route53_zone.cluster_domain.zone_id
enable_heritage = false
}

0 comments on commit 39f4989

Please sign in to comment.